/*! * CleanPrint * http://www.formatdynamics.com * Copyright Format Dynamics, Inc. All rights reserved, * CleanPrint and Format Dynamics are registered trademarks * US Patent 7386791 */ function FDComm(){var a=this;a.xDomainRequest=new XMLHttpRequest();a.readyState=0;a.responseText=null;a.responseType=null;a.status=-1;a.statusText=null;a.timeout=0;a.initialized=true;a.name="cors";a.init=function(){};a.onreadystatechange=function(){};a.onerror=function(){};a.onload=function(){};a.ontimeout=function(){};a.abort=function(){a.xDomainRequest.abort();a.responseText=null;a.readyState=0;a.status=-1;a.statusText=null};a.open=function(d,b,c){a.xDomainRequest.open(d,b);a.xDomainRequest.withCredentials=true};a.send=function(b){if(a.timeout>0){a.xDomainRequest.timeout=a.timeout+10000;a.xDomainRequest.ontimeout=a.timeoutHandler}a.readyState=1;a.xDomainRequest.onerror=a.errorHandler;a.xDomainRequest.onload=a.loadHandler;a.xDomainRequest.setRequestHeader("Content-type","application/x-www-form-urlencoded");a.xDomainRequest.send(b)};a.getResponseHeader=function(b){return a.xDomainRequest.getResponseHeader(b)};a.getAllResponseHeaders=function(){return a.xDomainRequest.getAllResponseHeaders()};a.setRequestHeader=function(c,b){a.xDomainRequest.setRequestHeader(c,b)};a.synchronousSupported=false;a.promote=function(){a.responseText=a.xDomainRequest.responseText;a.status=a.xDomainRequest.status;a.statusText=a.xDomainRequest.statusText};a.loadHandler=function(){a.readyState=2;a.promote();if(a.status&&a.status!=200){a.readyState=0;a.onerror("HTTP status: "+a.status)}else{a.responseType=a.getResponseHeader("Content-Type");a.onload()}};a.errorHandler=function(){a.readyState=0;a.promote();a.onerror()};a.timeoutHandler=function(){a.readyState=0;a.promote();a.onerror("CORS timeout")}};function FDBridge(a){this.vers=3;this.servlet=a;this.chkTid=0;this.reqTid=0;this.action=null;this.outputFormat=null;this.pinterval=200;this.itotal=0;this.timeout=0;this.payload=null;this.callback=null;this.handleXDRLoad=function(g){var b,f,d;clearTimeout(this.reqTid);try{b=this.xdr.responseText;if(typeof b=="undefined"||b==null){FDLoader.bridge.handleError(40000,"Server unable to process request.","ProxylessBridge::handleXDRLoad: invalid responseText")}else{if(g){g(b)}}}catch(c){d="";f=null;for(f in c){d+=f+"["+c[f]+"], "}d+="["+c.toString()+"]";FDLoader.bridge.handleError(40000,"Server unable to process request.","ProxylessBridge::handleXDRLoad: "+d)}};this.handleXDRError=function(f,c,d){try{this.xdr.abort()}catch(h){}clearTimeout(this.reqTid);if((typeof c=="undefined")||(c==null)||(c=="")){c="Server unable to process request."}var b,g;b=this.xdr?this.xdr.name:"UNKNOWN";g={xdr:b+"/"+this.vers};if((typeof d=="undefined")||(d==null)||(d=="")){d=c}FDLoader.logMessage(f,d,g);alert(c)};this.handleError=function(d,b,c){this.handleXDRError(d,b,c)};this.checkInit=function(){this.itotal+=this.pinterval;if(this.itotal>this.timeout){clearInterval(this.chkTid);this.chkTid=0;this.itotal=0;FDLoader.bridge.handleError(20000,"Server unable to process request.","ProxylessBridge::checkInit: timeout")}else{if(this.xdr.initialized){clearInterval(this.chkTid);this.chkTid=0;this.itotal=0;this.submitRequest(this.payload,this.timeout,this.callback)}}};this.submitRequest=function(f,c,g){try{if(!this.xdr.initialized){this.payload=f;this.timeout=c;this.callback=g;this.chkTid=setInterval(function(){FDLoader.bridge.checkInit()},this.pinterval);return}this.xdr.onerror=function(e){if(!e){e="Unknown Error"}FDLoader.bridge.handleError(40000,"Server unable to process request.","ProxylessBridge::submitRequest: "+e)};this.xdr.onload=function(){FDLoader.bridge.handleXDRLoad(g)};this.xdr.open("POST",this.servlet,true);var b=c-this.itotal;this.reqTid=setTimeout(function(){var e="Server unable to process request in a timely fashion.";if(false&&FDLoader.browserDetect.browser=="Explorer"){e+="\n\nCheck the following in Internet options->Security:";e+="\n* Security level: 'Medium High'";e+="\n* Custom level->XSS filter: 'Disabled'";e+="\n\nNOTE: These changes may affect other sites/features."}FDLoader.bridge.handleError(40000,e,"ProxylessBridge::submitRequest: timeout")},b);this.xdr.send(f)}catch(d){FDLoader.bridge.handleError(50000,d.description,"ProxylessBridge::submitRequest: "+d)}};this.initXDR=function(){try{this.xdr=new FDComm({});this.xdr.init()}catch(b){FDLoader.bridge.handleXDRError(50000,"Server unable to process request.","ProxylessBridge::init: "+b);throw b}};this.init=function(){this.initXDR()}};/*! * jQuery JavaScript Library v1.6.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * * Date: Thu Jun 30 14:16:56 2011 -0400 */ var FDJQuery={};(function(a9,K){var aq=a9.document,br=a9.navigator,bi=a9.location;var b=(function(){var bC=function(bX,bY){return new bC.fn.init(bX,bY,bA)},bS=a9.jQuery,bE=a9.$,bA,bW=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bK=/\S/,bG=/^\s+/,bB=/\s+$/,bF=/\d/,bx=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bL=/^[\],:{}\s]*$/,bU=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bN=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bH=/(?:^|:|,)(?:\s*\[)+/g,bv=/(webkit)[ \/]([\w.]+)/,bP=/(opera)(?:.*version)?[ \/]([\w.]+)/,bO=/(msie) ([\w.]+)/,bQ=/(mozilla)(?:.*? rv:([\w.]+))?/,by=/-([a-z])/ig,bR=function(bX,bY){return bY.toUpperCase()},bV=br.userAgent,bT,bz,e,bJ=Object.prototype.toString,bD=Object.prototype.hasOwnProperty,bw=Array.prototype.push,bI=Array.prototype.slice,bM=String.prototype.trim,bs=Array.prototype.indexOf,bu={};bC.fn=bC.prototype={constructor:bC,init:function(bX,b1,b0){var bZ,b2,bY,b3;if(!bX){return this}if(bX.nodeType){this.context=this[0]=bX;this.length=1;return this}if(bX==="body"&&!b1&&aq.body){this.context=aq;this[0]=aq.body;this.selector=bX;this.length=1;return this}if(typeof bX==="string"){if(bX.charAt(0)==="<"&&bX.charAt(bX.length-1)===">"&&bX.length>=3){bZ=[null,bX,null]}else{bZ=bW.exec(bX)}if(bZ&&(bZ[1]||!b1)){if(bZ[1]){b1=b1 instanceof bC?b1[0]:b1;b3=(b1?b1.ownerDocument||b1:aq);bY=bx.exec(bX);if(bY){if(bC.isPlainObject(b1)){bX=[aq.createElement(bY[1])];bC.fn.attr.call(bX,b1,true)}else{bX=[b3.createElement(bY[1])]}}else{bY=bC.buildFragment([bZ[1]],[b3]);bX=(bY.cacheable?bC.clone(bY.fragment):bY.fragment).childNodes}return bC.merge(this,bX)}else{b2=aq.getElementById(bZ[2]);if(b2&&b2.parentNode){if(b2.id!==bZ[2]){return b0.find(bX)}this.length=1;this[0]=b2}this.context=aq;this.selector=bX;return this}}else{if(!b1||b1.jquery){return(b1||b0).find(bX)}else{return this.constructor(b1).find(bX)}}}else{if(bC.isFunction(bX)){return b0.ready(bX)}}if(bX.selector!==K){this.selector=bX.selector;this.context=bX.context}return bC.makeArray(bX,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return bI.call(this,0)},get:function(bX){return bX==null?this.toArray():(bX<0?this[this.length+bX]:this[bX])},pushStack:function(bY,b0,bX){var bZ=this.constructor();if(bC.isArray(bY)){bw.apply(bZ,bY)}else{bC.merge(bZ,bY)}bZ.prevObject=this;bZ.context=this.context;if(b0==="find"){bZ.selector=this.selector+(this.selector?" ":"")+bX}else{if(b0){bZ.selector=this.selector+"."+b0+"("+bX+")"}}return bZ},each:function(bY,bX){return bC.each(this,bY,bX)},ready:function(bX){bC.bindReady();bz.done(bX);return this},eq:function(bX){return bX===-1?this.slice(bX):this.slice(bX,+bX+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bI.apply(this,arguments),"slice",bI.call(arguments).join(","))},map:function(bX){return this.pushStack(bC.map(this,function(bZ,bY){return bX.call(bZ,bY,bZ)}))},end:function(){return this.prevObject||this.constructor(null)},push:bw,sort:[].sort,splice:[].splice};bC.fn.init.prototype=bC.fn;bC.extend=bC.fn.extend=function(){var b6,bZ,bX,bY,b3,b4,b2=arguments[0]||{},b1=1,b0=arguments.length,b5=false;if(typeof b2==="boolean"){b5=b2;b2=arguments[1]||{};b1=2}if(typeof b2!=="object"&&!bC.isFunction(b2)){b2={}}if(b0===b1){b2=this;--b1}for(;b10){return}bz.resolveWith(aq,[bC]);if(bC.fn.trigger){bC(aq).trigger("ready").unbind("ready")}}},bindReady:function(){if(bz){return}bz=bC._Deferred();if(aq.readyState==="complete"){return setTimeout(bC.ready,1)}if(aq.addEventListener){aq.addEventListener("DOMContentLoaded",e,false);a9.addEventListener("load",bC.ready,false)}else{if(aq.attachEvent){aq.attachEvent("onreadystatechange",e);a9.attachEvent("onload",bC.ready);var bX=false;try{bX=a9.frameElement==null}catch(bY){}if(aq.documentElement.doScroll&&bX){bt()}}}},isFunction:function(bX){return bC.type(bX)==="function"},isArray:Array.isArray||function(bX){return bC.type(bX)==="array"},isWindow:function(bX){return bX&&typeof bX==="object"&&"setInterval" in bX},isNaN:function(bX){return bX==null||!bF.test(bX)||isNaN(bX)},type:function(bX){return bX==null?String(bX):bu[bJ.call(bX)]||"object"},isPlainObject:function(bY){if(!bY||bC.type(bY)!=="object"||bY.nodeType||bC.isWindow(bY)){return false}if(bY.constructor&&!bD.call(bY,"constructor")&&!bD.call(bY.constructor.prototype,"isPrototypeOf")){return false}var bX;for(bX in bY){}return bX===K||bD.call(bY,bX)},isEmptyObject:function(bY){for(var bX in bY){return false}return true},error:function(bX){throw bX},parseJSON:function(bX){if(typeof bX!=="string"||!bX){return null}bX=bC.trim(bX);if(a9.JSON&&a9.JSON.parse){return a9.JSON.parse(bX)}if(bL.test(bX.replace(bU,"@").replace(bN,"]").replace(bH,""))){return(new Function("return "+bX))()}bC.error("Invalid JSON: "+bX)},parseXML:function(bZ,bX,bY){if(a9.DOMParser){bY=new DOMParser();bX=bY.parseFromString(bZ,"text/xml")}else{bX=new ActiveXObject("Microsoft.XMLDOM");bX.async="false";bX.loadXML(bZ)}bY=bX.documentElement;if(!bY||!bY.nodeName||bY.nodeName==="parsererror"){bC.error("Invalid XML: "+bZ)}return bX},noop:function(){},globalEval:function(bX){if(bX&&bK.test(bX)){(a9.execScript||function(bY){a9["eval"].call(a9,bY)})(bX)}},camelCase:function(bX){return bX.replace(by,bR)},nodeName:function(bY,bX){return bY.nodeName&&bY.nodeName.toUpperCase()===bX.toUpperCase()},each:function(b0,b3,bZ){var bY,b1=0,b2=b0.length,bX=b2===K||bC.isFunction(b0);if(bZ){if(bX){for(bY in b0){if(b3.apply(b0[bY],bZ)===false){break}}}else{for(;b10&&bX[0]&&bX[bY-1])||bY===0||bC.isArray(bX));if(b0){for(;bZ1?aF.call(arguments,0):bz;if(!(--bv)){e.resolveWith(e,aF.call(bs,0))}}}if(bw>1){for(;bt
a";bv=bC.getElementsByTagName("*");bK=bC.getElementsByTagName("a")[0];if(!bv||!bv.length||!bK){return{}}bD=aq.createElement("select");bt=bD.appendChild(aq.createElement("option"));bB=bC.getElementsByTagName("input")[0];bz={leadingWhitespace:(bC.firstChild.nodeType===3),tbody:!bC.getElementsByTagName("tbody").length,htmlSerialize:!!bC.getElementsByTagName("link").length,style:/top/.test(bK.getAttribute("style")),hrefNormalized:(bK.getAttribute("href")==="/a"),opacity:/^0.55$/.test(bK.style.opacity),cssFloat:!!bK.style.cssFloat,checkOn:(bB.value==="on"),optSelected:bt.selected,getSetAttribute:bC.className!=="t",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bB.checked=true;bz.noCloneChecked=bB.cloneNode(true).checked;bD.disabled=true;bz.optDisabled=!bt.disabled;try{delete bC.test}catch(bH){bz.deleteExpando=false}if(!bC.addEventListener&&bC.attachEvent&&bC.fireEvent){bC.attachEvent("onclick",function(){bz.noCloneEvent=false});bC.cloneNode(true).fireEvent("onclick")}bB=aq.createElement("input");bB.value="t";bB.setAttribute("type","radio");bz.radioValue=bB.value==="t";bB.setAttribute("checked","checked");bC.appendChild(bB);bs=aq.createDocumentFragment();bs.appendChild(bC.firstChild);bz.checkClone=bs.cloneNode(true).cloneNode(true).lastChild.checked;bC.innerHTML="";bC.style.width=bC.style.paddingLeft="1px";bA=aq.getElementsByTagName("body")[0];by=aq.createElement(bA?"div":"body");bI={visibility:"hidden",width:0,height:0,border:0,margin:0};if(bA){b.extend(bI,{position:"absolute",left:-1000,top:-1000})}for(bF in bI){by.style[bF]=bI[bF]}by.appendChild(bC);bE=bA||bJ;bE.insertBefore(by,bE.firstChild);bz.appendChecked=bB.checked;bz.boxModel=bC.offsetWidth===2;if("zoom" in bC.style){bC.style.display="inline";bC.style.zoom=1;bz.inlineBlockNeedsLayout=(bC.offsetWidth===2);bC.style.display="";bC.innerHTML="
";bz.shrinkWrapBlocks=(bC.offsetWidth!==2)}bC.innerHTML="
t
";bG=bC.getElementsByTagName("td");bL=(bG[0].offsetHeight===0);bG[0].style.display="";bG[1].style.display="none";bz.reliableHiddenOffsets=bL&&(bG[0].offsetHeight===0);bC.innerHTML="";if(aq.defaultView&&aq.defaultView.getComputedStyle){bw=aq.createElement("div");bw.style.width="0";bw.style.marginRight="0";bC.appendChild(bw);bz.reliableMarginRight=(parseInt((aq.defaultView.getComputedStyle(bw,null)||{marginRight:0}).marginRight,10)||0)===0}by.innerHTML="";bE.removeChild(by);if(bC.attachEvent){for(bF in {submit:1,change:1,focusin:1}){bx="on"+bF;bL=(bx in bC);if(!bL){bC.setAttribute(bx,"return;");bL=(typeof bC[bx]==="function")}bz[bF+"Bubbles"]=bL}}by=bs=bD=bt=bA=bw=bC=bB=null;return bz})();b.boxModel=b.support.boxModel;var aM=/^(?:\{.*\}|\[.*\])$/,aw=/([a-z])([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!T(e)},data:function(bu,bs,bw,bv){if(!b.acceptData(bu)){return}var bz=b.expando,by=typeof bs==="string",bx,bA=bu.nodeType,e=bA?b.cache:bu,bt=bA?bu[b.expando]:bu[b.expando]&&b.expando;if((!bt||(bv&&bt&&!e[bt][bz]))&&by&&bw===K){return}if(!bt){if(bA){bu[b.expando]=bt=++b.uuid}else{bt=b.expando}}if(!e[bt]){e[bt]={};if(!bA){e[bt].toJSON=b.noop}}if(typeof bs==="object"||typeof bs==="function"){if(bv){e[bt][bz]=b.extend(e[bt][bz],bs)}else{e[bt]=b.extend(e[bt],bs)}}bx=e[bt];if(bv){if(!bx[bz]){bx[bz]={}}bx=bx[bz]}if(bw!==K){bx[b.camelCase(bs)]=bw}if(bs==="events"&&!bx[bs]){return bx[bz]&&bx[bz].events}return by?bx[b.camelCase(bs)]||bx[bs]:bx},removeData:function(bv,bt,bw){if(!b.acceptData(bv)){return}var by=b.expando,bz=bv.nodeType,bs=bz?b.cache:bv,bu=bz?bv[b.expando]:b.expando;if(!bs[bu]){return}if(bt){var bx=bw?bs[bu][by]:bs[bu];if(bx){delete bx[bt];if(!T(bx)){return}}}if(bw){delete bs[bu][by];if(!T(bs[bu])){return}}var e=bs[bu][by];if(b.support.deleteExpando||bs!=a9){delete bs[bu]}else{bs[bu]=null}if(e){bs[bu]={};if(!bz){bs[bu].toJSON=b.noop}bs[bu][by]=e}else{if(bz){if(b.support.deleteExpando){delete bv[b.expando]}else{if(bv.removeAttribute){bv.removeAttribute(b.expando)}else{bv[b.expando]=null}}}}},_data:function(bs,e,bt){return b.data(bs,e,bt,true)},acceptData:function(bs){if(bs.nodeName){var e=b.noData[bs.nodeName.toLowerCase()];if(e){return !(e===true||bs.getAttribute("classid")!==e)}}return true}});b.fn.extend({data:function(bv,bx){var bw=null;if(typeof bv==="undefined"){if(this.length){bw=b.data(this[0]);if(this[0].nodeType===1){var e=this[0].attributes,bt;for(var bu=0,bs=e.length;bu-1){return true}}return false},val:function(bu){var e,bs,bt=this[0];if(!arguments.length){if(bt){e=b.valHooks[bt.nodeName.toLowerCase()]||b.valHooks[bt.type];if(e&&"get" in e&&(bs=e.get(bt,"value"))!==K){return bs}bs=bt.value;return typeof bs==="string"?bs.replace(aO,""):bs==null?"":bs}return K}var bv=b.isFunction(bu);return this.each(function(bx){var bw=b(this),by;if(this.nodeType!==1){return}if(bv){by=bu.call(this,bx,bw.val())}else{by=bu}if(by==null){by=""}else{if(typeof by==="number"){by+=""}else{if(b.isArray(by)){by=b.map(by,function(bz){return bz==null?"":bz+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,by,"value")===K){this.value=by}})}});b.extend({valHooks:{option:{get:function(e){var bs=e.attributes.value;return !bs||bs.specified?e.value:e.text}},select:{get:function(e){var bx,bv=e.selectedIndex,by=[],bz=e.options,bu=e.type==="select-one";if(bv<0){return null}for(var bs=bu?bv:0,bw=bu?bv+1:bz.length;bs=0});if(!e.length){bs.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attrFix:{tabindex:"tabIndex"},attr:function(bx,bu,by,bw){var bs=bx.nodeType;if(!bx||bs===3||bs===8||bs===2){return K}if(bw&&bu in b.attrFn){return b(bx)[bu](by)}if(!("getAttribute" in bx)){return b.prop(bx,bu,by)}var bt,e,bv=bs!==1||!b.isXMLDoc(bx);if(bv){bu=b.attrFix[bu]||bu;e=b.attrHooks[bu];if(!e){if(ak.test(bu)){e=aU}else{if(a0&&bu!=="className"&&(b.nodeName(bx,"form")||a5.test(bu))){e=a0}}}}if(by!==K){if(by===null){b.removeAttr(bx,bu);return K}else{if(e&&"set" in e&&bv&&(bt=e.set(bx,by,bu))!==K){return bt}else{bx.setAttribute(bu,""+by);return by}}}else{if(e&&"get" in e&&bv&&(bt=e.get(bx,bu))!==null){return bt}else{bt=bx.getAttribute(bu);return bt===null?K:bt}}},removeAttr:function(bs,e){var bt;if(bs.nodeType===1){e=b.attrFix[e]||e;if(b.support.getSetAttribute){bs.removeAttribute(e)}else{b.attr(bs,e,"");bs.removeAttributeNode(bs.getAttributeNode(e))}if(ak.test(e)&&(bt=b.propFix[e]||e) in bs){bs[bt]=false}}},attrHooks:{type:{set:function(e,bs){if(g.test(e.nodeName)&&e.parentNode){b.error("type property can't be changed")}else{if(!b.support.radioValue&&bs==="radio"&&b.nodeName(e,"input")){var bt=e.value;e.setAttribute("type",bs);if(bt){e.value=bt}return bs}}}},tabIndex:{get:function(bs){var e=bs.getAttributeNode("tabIndex");return e&&e.specified?parseInt(e.value,10):D.test(bs.nodeName)||l.test(bs.nodeName)&&bs.href?0:K}},value:{get:function(bs,e){if(a0&&b.nodeName(bs,"button")){return a0.get(bs,e)}return e in bs?bs.value:null},set:function(bs,bt,e){if(a0&&b.nodeName(bs,"button")){return a0.set(bs,bt,e)}bs.value=bt}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(bw,bu,bx){var bs=bw.nodeType;if(!bw||bs===3||bs===8||bs===2){return K}var bt,e,bv=bs!==1||!b.isXMLDoc(bw);if(bv){bu=b.propFix[bu]||bu;e=b.propHooks[bu]}if(bx!==K){if(e&&"set" in e&&(bt=e.set(bw,bx,bu))!==K){return bt}else{return(bw[bu]=bx)}}else{if(e&&"get" in e&&(bt=e.get(bw,bu))!==K){return bt}else{return bw[bu]}}},propHooks:{}});aU={get:function(bs,e){return b.prop(bs,e)?e.toLowerCase():K},set:function(bs,bu,e){var bt;if(bu===false){b.removeAttr(bs,e)}else{bt=b.propFix[e]||e;if(bt in bs){bs[bt]=true}bs.setAttribute(e,e.toLowerCase())}return e}};if(!b.support.getSetAttribute){b.attrFix=b.propFix;a0=b.attrHooks.name=b.attrHooks.title=b.valHooks.button={get:function(bt,bs){var e;e=bt.getAttributeNode(bs);return e&&e.nodeValue!==""?e.nodeValue:K},set:function(bt,bu,bs){var e=bt.getAttributeNode(bs);if(e){e.nodeValue=bu;return bu}}};b.each(["width","height"],function(bs,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{set:function(bt,bu){if(bu===""){bt.setAttribute(e,"auto");return bu}}})})}if(!b.support.hrefNormalized){b.each(["href","src","width","height"],function(bs,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{get:function(bu){var bt=bu.getAttribute(e,2);return bt===null?K:bt}})})}if(!b.support.style){b.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||K},set:function(e,bs){return(e.style.cssText=""+bs)}}}if(!b.support.optSelected){b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(bs){var e=bs.parentNode;if(e){e.selectedIndex;if(e.parentNode){e.parentNode.selectedIndex}}}})}if(!b.support.checkOn){b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}})}b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(e,bs){if(b.isArray(bs)){return(e.checked=b.inArray(b(e).val(),bs)>=0)}}})});var aW=/\.(.*)$/,bb=/^(?:textarea|input|select)$/i,N=/\./g,bf=/ /g,aC=/[^\w\s.|`]/g,G=function(e){return e.replace(aC,"\\$&")};b.event={add:function(bu,by,bD,bw){if(bu.nodeType===3||bu.nodeType===8){return}if(bD===false){bD=bh}else{if(!bD){return}}var bs,bC;if(bD.handler){bs=bD;bD=bs.handler}if(!bD.guid){bD.guid=b.guid++}var bz=b._data(bu);if(!bz){return}var bE=bz.events,bx=bz.handle;if(!bE){bz.events=bE={}}if(!bx){bz.handle=bx=function(bF){return typeof b!=="undefined"&&(!bF||b.event.triggered!==bF.type)?b.event.handle.apply(bx.elem,arguments):K}}bx.elem=bu;by=by.split(" ");var bB,bv=0,e;while((bB=by[bv++])){bC=bs?b.extend({},bs):{handler:bD,data:bw};if(bB.indexOf(".")>-1){e=bB.split(".");bB=e.shift();bC.namespace=e.slice(0).sort().join(".")}else{e=[];bC.namespace=""}bC.type=bB;if(!bC.guid){bC.guid=bD.guid}var bt=bE[bB],bA=b.event.special[bB]||{};if(!bt){bt=bE[bB]=[];if(!bA.setup||bA.setup.call(bu,bw,e,bx)===false){if(bu.addEventListener){bu.addEventListener(bB,bx,false)}else{if(bu.attachEvent){bu.attachEvent("on"+bB,bx)}}}}if(bA.add){bA.add.call(bu,bC);if(!bC.handler.guid){bC.handler.guid=bD.guid}}bt.push(bC);b.event.global[bB]=true}bu=null},global:{},remove:function(bG,bB,bt,bx){if(bG.nodeType===3||bG.nodeType===8){return}if(bt===false){bt=bh}var bJ,bw,by,bD,bE=0,bu,bz,bC,bv,bA,e,bI,bF=b.hasData(bG)&&b._data(bG),bs=bF&&bF.events;if(!bF||!bs){return}if(bB&&bB.type){bt=bB.handler;bB=bB.type}if(!bB||typeof bB==="string"&&bB.charAt(0)==="."){bB=bB||"";for(bw in bs){b.event.remove(bG,bw+bB)}return}bB=bB.split(" ");while((bw=bB[bE++])){bI=bw;e=null;bu=bw.indexOf(".")<0;bz=[];if(!bu){bz=bw.split(".");bw=bz.shift();bC=new RegExp("(^|\\.)"+b.map(bz.slice(0).sort(),G).join("\\.(?:.*\\.)?")+"(\\.|$)")}bA=bs[bw];if(!bA){continue}if(!bt){for(bD=0;bD=0){bB=bB.slice(0,-1);bs=true}if(bB.indexOf(".")>=0){bt=bB.split(".");bB=bt.shift();bt.sort()}if((!bw||b.event.customEvent[bB])&&!b.event.global[bB]){return}e=typeof e==="object"?e[b.expando]?e:new b.Event(bB,e):new b.Event(bB);e.type=bB;e.exclusive=bs;e.namespace=bt.join(".");e.namespace_re=new RegExp("(^|\\.)"+bt.join("\\.(?:.*\\.)?")+"(\\.|$)");if(bD||!bw){e.preventDefault();e.stopPropagation()}if(!bw){b.each(b.cache,function(){var bF=b.expando,bE=this[bF];if(bE&&bE.events&&bE.events[bB]){b.event.trigger(e,by,bE.handle.elem)}});return}if(bw.nodeType===3||bw.nodeType===8){return}e.result=K;e.target=bw;by=by!=null?b.makeArray(by):[];by.unshift(e);var bC=bw,bu=bB.indexOf(":")<0?"on"+bB:"";do{var bz=b._data(bC,"handle");e.currentTarget=bC;if(bz){bz.apply(bC,by)}if(bu&&b.acceptData(bC)&&bC[bu]&&bC[bu].apply(bC,by)===false){e.result=false;e.preventDefault()}bC=bC.parentNode||bC.ownerDocument||bC===e.target.ownerDocument&&a9}while(bC&&!e.isPropagationStopped());if(!e.isDefaultPrevented()){var bv,bA=b.event.special[bB]||{};if((!bA._default||bA._default.call(bw.ownerDocument,e)===false)&&!(bB==="click"&&b.nodeName(bw,"a"))&&b.acceptData(bw)){try{if(bu&&bw[bB]){bv=bw[bu];if(bv){bw[bu]=null}b.event.triggered=bB;bw[bB]()}}catch(bx){}if(bv){bw[bu]=bv}b.event.triggered=K}}return e.result},handle:function(by){by=b.event.fix(by||a9.event);var bs=((b._data(this,"events")||{})[by.type]||[]).slice(0),bx=!by.exclusive&&!by.namespace,bv=Array.prototype.slice.call(arguments,0);bv[0]=by;by.currentTarget=this;for(var bu=0,e=bs.length;bu-1?b.map(bs.options,function(bu){return bu.selected}).join("-"):""}else{if(b.nodeName(bs,"select")){bt=bs.selectedIndex}}}return bt},Z=function Z(bu){var bs=bu.target,bt,bv;if(!bb.test(bs.nodeName)||bs.readOnly){return}bt=b._data(bs,"_change_data");bv=k(bs);if(bu.type!=="focusout"||bs.type!=="radio"){b._data(bs,"_change_data",bv)}if(bt===K||bv===bt){return}if(bt!=null||bv){bu.type="change";bu.liveFired=K;b.event.trigger(bu,arguments[1],bs)}};b.event.special.change={filters:{focusout:Z,beforedeactivate:Z,click:function(bu){var bt=bu.target,bs=b.nodeName(bt,"input")?bt.type:"";if(bs==="radio"||bs==="checkbox"||b.nodeName(bt,"select")){Z.call(this,bu)}},keydown:function(bu){var bt=bu.target,bs=b.nodeName(bt,"input")?bt.type:"";if((bu.keyCode===13&&!b.nodeName(bt,"textarea"))||(bu.keyCode===32&&(bs==="checkbox"||bs==="radio"))||bs==="select-multiple"){Z.call(this,bu)}},beforeactivate:function(bt){var bs=bt.target;b._data(bs,"_change_data",k(bs))}},setup:function(bt,bs){if(this.type==="file"){return false}for(var e in bk){b.event.add(this,e+".specialChange",bk[e])}return bb.test(this.nodeName)},teardown:function(e){b.event.remove(this,".specialChange");return bb.test(this.nodeName)}};bk=b.event.special.change.filters;bk.focus=bk.beforeactivate}function aT(bs,bu,e){var bt=b.extend({},e[0]);bt.type=bs;bt.originalEvent={};bt.liveFired=K;b.event.handle.call(bu,bt);if(bt.isDefaultPrevented()){e[0].preventDefault()}}if(!b.support.focusinBubbles){b.each({focus:"focusin",blur:"focusout"},function(bu,e){var bs=0;b.event.special[e]={setup:function(){if(bs++===0){aq.addEventListener(bu,bt,true)}},teardown:function(){if(--bs===0){aq.removeEventListener(bu,bt,true)}}};function bt(bv){var bw=b.event.fix(bv);bw.type=e;bw.originalEvent={};b.event.trigger(bw,null,bw.target);if(bw.isDefaultPrevented()){bv.preventDefault()}}})}b.each(["bind","one"],function(bs,e){b.fn[e]=function(by,bz,bx){var bw;if(typeof by==="object"){for(var bv in by){this[e](bv,bz,by[bv],bx)}return this}if(arguments.length===2||bz===false){bx=bz;bz=K}if(e==="one"){bw=function(bA){b(this).unbind(bA,bw);return bx.apply(this,arguments)};bw.guid=bx.guid||b.guid++}else{bw=bx}if(by==="unload"&&e!=="one"){this.one(by,bz,bx)}else{for(var bu=0,bt=this.length;bubu){break}bC.currentTarget=bw.elem;bC.data=bw.handleObj.data;bC.handleObj=bw.handleObj;bG=bw.handleObj.origHandler.apply(bw.elem,arguments);if(bG===false||bC.isPropagationStopped()){bu=bw.level;if(bG===false){bz=false}if(bC.isImmediatePropagationStopped()){break}}}return bz}function p(bs,e){return(bs&&bs!=="*"?bs+".":"")+e.replace(N,"`").replace(bf,"&")}b.each(("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error").split(" "),function(bs,e){b.fn[e]=function(bu,bt){if(bt==null){bt=bu;bu=null}return arguments.length>0?this.bind(e,bu,bt):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}}); /*! * Sizzle CSS Selector Engine * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * More information: http://sizzlejs.com/ */ (function(){var bC=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bD=0,bG=Object.prototype.toString,bx=false,bw=true,bE=/\\/g,bK=/\W/;[0,0].sort(function(){bw=false;return 0});var bu=function(bP,e,bS,bT){bS=bS||[];e=e||aq;var bV=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bP||typeof bP!=="string"){return bS}var bM,bX,b0,bL,bW,bZ,bY,bR,bO=true,bN=bu.isXML(e),bQ=[],bU=bP;do{bC.exec("");bM=bC.exec(bU);if(bM){bU=bM[3];bQ.push(bM[1]);if(bM[2]){bL=bM[3];break}}}while(bM);if(bQ.length>1&&by.exec(bP)){if(bQ.length===2&&bz.relative[bQ[0]]){bX=bH(bQ[0]+bQ[1],e)}else{bX=bz.relative[bQ[0]]?[e]:bu(bQ.shift(),e);while(bQ.length){bP=bQ.shift();if(bz.relative[bP]){bP+=bQ.shift()}bX=bH(bP,bX)}}}else{if(!bT&&bQ.length>1&&e.nodeType===9&&!bN&&bz.match.ID.test(bQ[0])&&!bz.match.ID.test(bQ[bQ.length-1])){bW=bu.find(bQ.shift(),e,bN);e=bW.expr?bu.filter(bW.expr,bW.set)[0]:bW.set[0]}if(e){bW=bT?{expr:bQ.pop(),set:bA(bT)}:bu.find(bQ.pop(),bQ.length===1&&(bQ[0]==="~"||bQ[0]==="+")&&e.parentNode?e.parentNode:e,bN);bX=bW.expr?bu.filter(bW.expr,bW.set):bW.set;if(bQ.length>0){b0=bA(bX)}else{bO=false}while(bQ.length){bZ=bQ.pop();bY=bZ;if(!bz.relative[bZ]){bZ=""}else{bY=bQ.pop()}if(bY==null){bY=e}bz.relative[bZ](b0,bY,bN)}}else{b0=bQ=[]}}if(!b0){b0=bX}if(!b0){bu.error(bZ||bP)}if(bG.call(b0)==="[object Array]"){if(!bO){bS.push.apply(bS,b0)}else{if(e&&e.nodeType===1){for(bR=0;b0[bR]!=null;bR++){if(b0[bR]&&(b0[bR]===true||b0[bR].nodeType===1&&bu.contains(e,b0[bR]))){bS.push(bX[bR])}}}else{for(bR=0;b0[bR]!=null;bR++){if(b0[bR]&&b0[bR].nodeType===1){bS.push(bX[bR])}}}}}else{bA(b0,bS)}if(bL){bu(bL,bV,bS,bT);bu.uniqueSort(bS)}return bS};bu.uniqueSort=function(bL){if(bF){bx=bw;bL.sort(bF);if(bx){for(var e=1;e0};bu.find=function(bR,e,bS){var bQ;if(!bR){return[]}for(var bN=0,bM=bz.order.length;bN":function(bQ,bL){var bP,bO=typeof bL==="string",bM=0,e=bQ.length;if(bO&&!bK.test(bL)){bL=bL.toLowerCase();for(;bM=0)){if(!bM){e.push(bP)}}else{if(bM){bL[bO]=false}}}}return false},ID:function(e){return e[1].replace(bE,"")},TAG:function(bL,e){return bL[1].replace(bE,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){bu.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bL=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bL[1]+(bL[2]||1))-0;e[3]=bL[3]-0}else{if(e[2]){bu.error(e[0])}}e[0]=bD++;return e},ATTR:function(bO,bL,bM,e,bP,bQ){var bN=bO[1]=bO[1].replace(bE,"");if(!bQ&&bz.attrMap[bN]){bO[1]=bz.attrMap[bN]}bO[4]=(bO[4]||bO[5]||"").replace(bE,"");if(bO[2]==="~="){bO[4]=" "+bO[4]+" "}return bO},PSEUDO:function(bO,bL,bM,e,bP){if(bO[1]==="not"){if((bC.exec(bO[3])||"").length>1||/^\w/.test(bO[3])){bO[3]=bu(bO[3],null,null,bL)}else{var bN=bu.filter(bO[3],bL,bM,true^bP);if(!bM){e.push.apply(e,bN)}return false}}else{if(bz.match.POS.test(bO[0])||bz.match.CHILD.test(bO[0])){return true}}return bO},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bM,bL,e){return !!bu(e[3],bM).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bM){var e=bM.getAttribute("type"),bL=bM.type;return bM.nodeName.toLowerCase()==="input"&&"text"===bL&&(e===bL||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bL){var e=bL.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bL.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bL){var e=bL.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bL.type},button:function(bL){var e=bL.nodeName.toLowerCase();return e==="input"&&"button"===bL.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bL,e){return e===0},last:function(bM,bL,e,bN){return bL===bN.length-1},even:function(bL,e){return e%2===0},odd:function(bL,e){return e%2===1},lt:function(bM,bL,e){return bLe[3]-0},nth:function(bM,bL,e){return e[3]-0===bL},eq:function(bM,bL,e){return e[3]-0===bL}},filter:{PSEUDO:function(bM,bR,bQ,bS){var e=bR[1],bL=bz.filters[e];if(bL){return bL(bM,bQ,bR,bS)}else{if(e==="contains"){return(bM.textContent||bM.innerText||bu.getText([bM])||"").indexOf(bR[3])>=0}else{if(e==="not"){var bN=bR[3];for(var bP=0,bO=bN.length;bP=0)}}},ID:function(bL,e){return bL.nodeType===1&&bL.getAttribute("id")===e},TAG:function(bL,e){return(e==="*"&&bL.nodeType===1)||bL.nodeName.toLowerCase()===e},CLASS:function(bL,e){return(" "+(bL.className||bL.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bP,bN){var bM=bN[1],e=bz.attrHandle[bM]?bz.attrHandle[bM](bP):bP[bM]!=null?bP[bM]:bP.getAttribute(bM),bQ=e+"",bO=bN[2],bL=bN[4];return e==null?bO==="!=":bO==="="?bQ===bL:bO==="*="?bQ.indexOf(bL)>=0:bO==="~="?(" "+bQ+" ").indexOf(bL)>=0:!bL?bQ&&e!==false:bO==="!="?bQ!==bL:bO==="^="?bQ.indexOf(bL)===0:bO==="$="?bQ.substr(bQ.length-bL.length)===bL:bO==="|="?bQ===bL||bQ.substr(0,bL.length+1)===bL+"-":false},POS:function(bO,bL,bM,bP){var e=bL[2],bN=bz.setFilters[e];if(bN){return bN(bO,bM,bL,bP)}}}};var by=bz.match.POS,bt=function(bL,e){return"\\"+(e-0+1)};for(var bv in bz.match){bz.match[bv]=new RegExp(bz.match[bv].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bz.leftMatch[bv]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bz.match[bv].source.replace(/\\(\d+)/g,bt))}var bA=function(bL,e){bL=Array.prototype.slice.call(bL,0);if(e){e.push.apply(e,bL);return e}return bL};try{Array.prototype.slice.call(aq.documentElement.childNodes,0)[0].nodeType}catch(bJ){bA=function(bO,bN){var bM=0,bL=bN||[];if(bG.call(bO)==="[object Array]"){Array.prototype.push.apply(bL,bO)}else{if(typeof bO.length==="number"){for(var e=bO.length;bM";e.insertBefore(bL,e.firstChild);if(aq.getElementById(bM)){bz.find.ID=function(bO,bP,bQ){if(typeof bP.getElementById!=="undefined"&&!bQ){var bN=bP.getElementById(bO[1]);return bN?bN.id===bO[1]||typeof bN.getAttributeNode!=="undefined"&&bN.getAttributeNode("id").nodeValue===bO[1]?[bN]:K:[]}};bz.filter.ID=function(bP,bN){var bO=typeof bP.getAttributeNode!=="undefined"&&bP.getAttributeNode("id");return bP.nodeType===1&&bO&&bO.nodeValue===bN}}e.removeChild(bL);e=bL=null})();(function(){var e=aq.createElement("div");e.appendChild(aq.createComment(""));if(e.getElementsByTagName("*").length>0){bz.find.TAG=function(bL,bP){var bO=bP.getElementsByTagName(bL[1]);if(bL[1]==="*"){var bN=[];for(var bM=0;bO[bM];bM++){if(bO[bM].nodeType===1){bN.push(bO[bM])}}bO=bN}return bO}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bz.attrHandle.href=function(bL){return bL.getAttribute("href",2)}}e=null})();if(aq.querySelectorAll){(function(){var e=bu,bN=aq.createElement("div"),bM="__sizzle__";bN.innerHTML="

";if(bN.querySelectorAll&&bN.querySelectorAll(".TEST").length===0){return}bu=function(bY,bP,bT,bX){bP=bP||aq;if(!bX&&!bu.isXML(bP)){var bW=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(bY);if(bW&&(bP.nodeType===1||bP.nodeType===9)){if(bW[1]){return bA(bP.getElementsByTagName(bY),bT)}else{if(bW[2]&&bz.find.CLASS&&bP.getElementsByClassName){return bA(bP.getElementsByClassName(bW[2]),bT)}}}if(bP.nodeType===9){if(bY==="body"&&bP.body){return bA([bP.body],bT)}else{if(bW&&bW[3]){var bS=bP.getElementById(bW[3]);if(bS&&bS.parentNode){if(bS.id===bW[3]){return bA([bS],bT)}}else{return bA([],bT)}}}try{return bA(bP.querySelectorAll(bY),bT)}catch(bU){}}else{if(bP.nodeType===1&&bP.nodeName.toLowerCase()!=="object"){var bQ=bP,bR=bP.getAttribute("id"),bO=bR||bM,b0=bP.parentNode,bZ=/^\s*[+~]/.test(bY);if(!bR){bP.setAttribute("id",bO)}else{bO=bO.replace(/'/g,"\\$&")}if(bZ&&b0){bP=bP.parentNode}try{if(!bZ||b0){return bA(bP.querySelectorAll("[id='"+bO+"'] "+bY),bT)}}catch(bV){}finally{if(!bR){bQ.removeAttribute("id")}}}}}return e(bY,bP,bT,bX)};for(var bL in e){bu[bL]=e[bL]}bN=null})()}(function(){var e=aq.documentElement,bM=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bM){var bO=!bM.call(aq.createElement("div"),"div"),bL=false;try{bM.call(aq.documentElement,"[test!='']:sizzle")}catch(bN){bL=true}bu.matchesSelector=function(bQ,bS){bS=bS.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!bu.isXML(bQ)){try{if(bL||!bz.match.PSEUDO.test(bS)&&!/!=/.test(bS)){var bP=bM.call(bQ,bS);if(bP||!bO||bQ.document&&bQ.document.nodeType!==11){return bP}}}catch(bR){}}return bu(bS,null,null,[bQ]).length>0}}})();(function(){var e=aq.createElement("div");e.innerHTML="
";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bz.order.splice(1,0,"CLASS");bz.find.CLASS=function(bL,bM,bN){if(typeof bM.getElementsByClassName!=="undefined"&&!bN){return bM.getElementsByClassName(bL[1])}};e=null})();function bs(bL,bQ,bP,bT,bR,bS){for(var bN=0,bM=bT.length;bN0){bO=e;break}}}e=e[bL]}bT[bN]=bO}}}if(aq.documentElement.contains){bu.contains=function(bL,e){return bL!==e&&(bL.contains?bL.contains(e):true)}}else{if(aq.documentElement.compareDocumentPosition){bu.contains=function(bL,e){return !!(bL.compareDocumentPosition(e)&16)}}else{bu.contains=function(){return false}}}bu.isXML=function(e){var bL=(e?e.ownerDocument||e:0).documentElement;return bL?bL.nodeName!=="HTML":false};var bH=function(e,bR){var bP,bN=[],bO="",bM=bR.nodeType?[bR]:bR;while((bP=bz.match.PSEUDO.exec(e))){bO+=bP[0];e=e.replace(bz.match.PSEUDO,"")}e=bz.relative[e]?e+"*":e;for(var bQ=0,bL=bM.length;bQ0){for(by=bx;by0:this.filter(e).length>0)},closest:function(bB,bs){var by=[],bv,bt,bA=this[0];if(b.isArray(bB)){var bx,bu,bw={},e=1;if(bA&&bB.length){for(bv=0,bt=bB.length;bv-1:b(bA).is(bx)){by.push({selector:bu,elem:bA,level:e})}}bA=bA.parentNode;e++}}return by}var bz=H.test(bB)||typeof bB!=="string"?b(bB,bs||this.context):0;for(bv=0,bt=this.length;bv-1:b.find.matchesSelector(bA,bB)){by.push(bA);break}else{bA=bA.parentNode;if(!bA||!bA.ownerDocument||bA===bs||bA.nodeType===11){break}}}}by=by.length>1?b.unique(by):by;return this.pushStack(by,"closest",bB)},index:function(e){if(!e||typeof e==="string"){return b.inArray(this[0],e?b(e):this.parent().children())}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bs){var bu=typeof e==="string"?b(e,bs):b.makeArray(e&&e.nodeType?[e]:e),bt=b.merge(this.get(),bu);return this.pushStack(C(bu[0])||C(bt[0])?bt:b.unique(bt))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bs){var e=bs.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bs,e,bt){return b.dir(bs,"parentNode",bt)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bs,e,bt){return b.dir(bs,"nextSibling",bt)},prevUntil:function(bs,e,bt){return b.dir(bs,"previousSibling",bt)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bs){b.fn[e]=function(bw,bt){var bv=b.map(this,bs,bw),bu=P.call(arguments);if(!Y.test(e)){bt=bw}if(bt&&typeof bt==="string"){bv=b.filter(bt,bv)}bv=this.length>1&&!au[e]?b.unique(bv):bv;if((this.length>1||a7.test(bt))&&am.test(e)){bv=bv.reverse()}return this.pushStack(bv,e,bu.join(","))}});b.extend({filter:function(bt,e,bs){if(bs){bt=":not("+bt+")"}return e.length===1?b.find.matchesSelector(e[0],bt)?[e[0]]:[]:b.find.matches(bt,e)},dir:function(bt,bs,bv){var e=[],bu=bt[bs];while(bu&&bu.nodeType!==9&&(bv===K||bu.nodeType!==1||!b(bu).is(bv))){if(bu.nodeType===1){e.push(bu)}bu=bu[bs]}return e},nth:function(bv,e,bt,bu){e=e||1;var bs=0;for(;bv;bv=bv[bt]){if(bv.nodeType===1&&++bs===e){break}}return bv},sibling:function(bt,bs){var e=[];for(;bt;bt=bt.nextSibling){if(bt.nodeType===1&&bt!==bs){e.push(bt)}}return e}});function aB(bu,bt,e){bt=bt||0;if(b.isFunction(bt)){return b.grep(bu,function(bw,bv){var bx=!!bt.call(bw,bv,bw);return bx===e})}else{if(bt.nodeType){return b.grep(bu,function(bw,bv){return(bw===bt)===e})}else{if(typeof bt==="string"){var bs=b.grep(bu,function(bv){return bv.nodeType===1});if(bn.test(bt)){return b.filter(bt,bs,!e)}else{bt=b.filter(bt,bs)}}}}return b.grep(bu,function(bw,bv){return(b.inArray(bw,bt)>=0)===e})}var ad=/ jQuery\d+="(?:\d+|null)"/g,an=/^\s+/,S=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};at.optgroup=at.option;at.tbody=at.tfoot=at.colgroup=at.caption=at.thead;at.th=at.td;if(!b.support.htmlSerialize){at._default=[1,"div
","
"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bt){var bs=b(this);bs.text(e.call(this,bt,bs.text()))})}if(typeof e!=="object"&&e!==K){return this.empty().append((this[0]&&this[0].ownerDocument||aq).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bt){b(this).wrapAll(e.call(this,bt))})}if(this[0]){var bs=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bs.insertBefore(this[0])}bs.map(function(){var bt=this;while(bt.firstChild&&bt.firstChild.nodeType===1){bt=bt.firstChild}return bt}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bs){b(this).wrapInner(e.call(this,bs))})}return this.each(function(){var bs=b(this),bt=bs.contents();if(bt.length){bt.wrapAll(e)}else{bs.append(e)}})},wrap:function(e){return this.each(function(){b(this).wrapAll(e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bs){this.parentNode.insertBefore(bs,this)})}else{if(arguments.length){var e=b(arguments[0]);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bs){this.parentNode.insertBefore(bs,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b(arguments[0]).toArray());return e}}},remove:function(e,bu){for(var bs=0,bt;(bt=this[bs])!=null;bs++){if(!e||b.filter(e,[bt]).length){if(!bu&&bt.nodeType===1){b.cleanData(bt.getElementsByTagName("*"));b.cleanData([bt])}if(bt.parentNode){bt.parentNode.removeChild(bt)}}}return this},empty:function(){for(var e=0,bs;(bs=this[e])!=null;e++){if(bs.nodeType===1){b.cleanData(bs.getElementsByTagName("*"))}while(bs.firstChild){bs.removeChild(bs.firstChild)}}return this},clone:function(bs,e){bs=bs==null?false:bs;e=e==null?bs:e;return this.map(function(){return b.clone(this,bs,e)})},html:function(bu){if(bu===K){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ad,""):null}else{if(typeof bu==="string"&&!O.test(bu)&&(b.support.leadingWhitespace||!an.test(bu))&&!at[(d.exec(bu)||["",""])[1].toLowerCase()]){bu=bu.replace(S,"<$1>");try{for(var bt=0,bs=this.length;bt1&&bt0?this.clone(true):this).get();b(bz[bx])[bs](bv);bw=bw.concat(bv)}return this.pushStack(bw,e,bz.selector)}}});function bc(e){if("getElementsByTagName" in e){return e.getElementsByTagName("*")}else{if("querySelectorAll" in e){return e.querySelectorAll("*")}else{return[]}}}function av(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){if(b.nodeName(e,"input")){av(e)}else{if("getElementsByTagName" in e){b.grep(e.getElementsByTagName("input"),av)}}}b.extend({clone:function(bv,bx,bt){var bw=bv.cloneNode(true),e,bs,bu;if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(bv.nodeType===1||bv.nodeType===11)&&!b.isXMLDoc(bv)){ae(bv,bw);e=bc(bv);bs=bc(bw);for(bu=0;e[bu];++bu){ae(e[bu],bs[bu])}}if(bx){t(bv,bw);if(bt){e=bc(bv);bs=bc(bw);for(bu=0;e[bu];++bu){t(e[bu],bs[bu])}}}e=bs=null;return bw},clean:function(bt,bv,bE,bx){var bC;bv=bv||aq;if(typeof bv.createElement==="undefined"){bv=bv.ownerDocument||bv[0]&&bv[0].ownerDocument||aq}var bF=[],by;for(var bB=0,bw;(bw=bt[bB])!=null;bB++){if(typeof bw==="number"){bw+=""}if(!bw){continue}if(typeof bw==="string"){if(!V.test(bw)){bw=bv.createTextNode(bw)}else{bw=bw.replace(S,"<$1>");var bH=(d.exec(bw)||["",""])[1].toLowerCase(),bu=at[bH]||at._default,bA=bu[0],bs=bv.createElement("div");bs.innerHTML=bu[1]+bw+bu[2];while(bA--){bs=bs.lastChild}if(!b.support.tbody){var e=w.test(bw),bz=bH==="table"&&!e?bs.firstChild&&bs.firstChild.childNodes:bu[1]===""&&!e?bs.childNodes:[];for(by=bz.length-1;by>=0;--by){if(b.nodeName(bz[by],"tbody")&&!bz[by].childNodes.length){bz[by].parentNode.removeChild(bz[by])}}}if(!b.support.leadingWhitespace&&an.test(bw)){bs.insertBefore(bv.createTextNode(an.exec(bw)[0]),bs.firstChild)}bw=bs.childNodes}}var bD;if(!b.support.appendChecked){if(bw[0]&&typeof(bD=bw.length)==="number"){for(by=0;by=0){return bu+"px"}}else{return bu}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bs,e){return ap.test((e&&bs.currentStyle?bs.currentStyle.filter:bs.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(bv,bw){var bu=bv.style,bs=bv.currentStyle;bu.zoom=1;var e=b.isNaN(bw)?"":"alpha(opacity="+bw*100+")",bt=bs&&bs.filter||bu.filter||"";bu.filter=ah.test(bt)?bt.replace(ah,e):bt+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bt,bs){var e;b.swap(bt,{display:"inline-block"},function(){if(bs){e=W(bt,"margin-right","marginRight")}else{e=bt.style.marginRight}});return e}}}});if(aq.defaultView&&aq.defaultView.getComputedStyle){aE=function(bv,bt){var bs,bu,e;bt=bt.replace(z,"-$1").toLowerCase();if(!(bu=bv.ownerDocument.defaultView)){return K}if((e=bu.getComputedStyle(bv,null))){bs=e.getPropertyValue(bt);if(bs===""&&!b.contains(bv.ownerDocument.documentElement,bv)){bs=b.style(bv,bt)}}return bs}}if(aq.documentElement.currentStyle){aS=function(bv,bt){var bw,bs=bv.currentStyle&&bv.currentStyle[bt],e=bv.runtimeStyle&&bv.runtimeStyle[bt],bu=bv.style;if(!ba.test(bs)&&bl.test(bs)){bw=bu.left;if(e){bv.runtimeStyle.left=bv.currentStyle.left}bu.left=bt==="fontSize"?"1em":(bs||0);bs=bu.pixelLeft+"px";bu.left=bw;if(e){bv.runtimeStyle.left=e}}return bs===""?"auto":bs}}W=aE||aS;function o(bt,bs,e){var bv=bs==="width"?bt.offsetWidth:bt.offsetHeight,bu=bs==="width"?aj:aY;if(bv>0){if(e!=="border"){b.each(bu,function(){if(!e){bv-=parseFloat(b.css(bt,"padding"+this))||0}if(e==="margin"){bv+=parseFloat(b.css(bt,e+this))||0}else{bv-=parseFloat(b.css(bt,"border"+this+"Width"))||0}})}return bv+"px"}bv=W(bt,bs,bs);if(bv<0||bv==null){bv=bt.style[bs]||0}bv=parseFloat(bv)||0;if(e){b.each(bu,function(){bv+=parseFloat(b.css(bt,"padding"+this))||0;if(e!=="padding"){bv+=parseFloat(b.css(bt,"border"+this+"Width"))||0}if(e==="margin"){bv+=parseFloat(b.css(bt,e+this))||0}})}return bv+"px"}if(b.expr&&b.expr.filters){b.expr.filters.hidden=function(bt){var bs=bt.offsetWidth,e=bt.offsetHeight;return(bs===0&&e===0)||(!b.support.reliableHiddenOffsets&&(bt.style.display||b.css(bt,"display"))==="none")};b.expr.filters.visible=function(e){return !b.expr.filters.hidden(e)}}var j=/%20/g,al=/\[\]$/,bq=/\r?\n/g,bo=/#.*$/,az=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,aV=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aI=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,aL=/^(?:GET|HEAD)$/,c=/^\/\//,L=/\?/,a3=/)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,bp=/([?&])_=[^&]*/,J=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,X={},r={},aA,s;try{aA=bi.href}catch(ar){aA=aq.createElement("a");aA.href="";aA=aA.href}s=J.exec(aA.toLowerCase())||[];function f(e){return function(bv,bx){if(typeof bv!=="string"){bx=bv;bv="*"}if(b.isFunction(bx)){var bu=bv.toLowerCase().split(h),bt=0,bw=bu.length,bs,by,bz;for(;bt=0){var e=bt.slice(bv,bt.length);bt=bt.slice(0,bv)}var bu="GET";if(bw){if(b.isFunction(bw)){bx=bw;bw=K}else{if(typeof bw==="object"){bw=b.param(bw,b.ajaxSettings.traditional);bu="POST"}}}var bs=this;b.ajax({url:bt,type:bu,dataType:"html",data:bw,complete:function(bz,by,bA){bA=bz.responseText;if(bz.isResolved()){bz.done(function(bB){bA=bB});bs.html(e?b("
").append(bA.replace(a3,"")).find(e):bA)}if(bx){bs.each(bx,[bA,by,bz])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aV.test(this.type))}).map(function(e,bs){var bt=b(this).val();return bt==null?null:b.isArray(bt)?b.map(bt,function(bv,bu){return{name:bs.name,value:bv.replace(bq,"\r\n")}}):{name:bs.name,value:bt.replace(bq,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bs){b.fn[bs]=function(bt){return this.bind(bs,bt)}});b.each(["get","post"],function(e,bs){b[bs]=function(bt,bv,bw,bu){if(b.isFunction(bv)){bu=bu||bw;bw=bv;bv=K}return b.ajax({type:bs,url:bt,data:bv,success:bw,dataType:bu})}});b.extend({getScript:function(e,bs){return b.get(e,K,bs,"script")},getJSON:function(e,bs,bt){return b.get(e,bs,bt,"json")},ajaxSetup:function(bt,e){if(!e){e=bt;bt=b.extend(true,b.ajaxSettings,e)}else{b.extend(true,bt,b.ajaxSettings,e)}for(var bs in {context:1,url:1}){if(bs in e){bt[bs]=e[bs]}else{if(bs in b.ajaxSettings){bt[bs]=b.ajaxSettings[bs]}}}return bt},ajaxSettings:{url:aA,isLocal:aI.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a9.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML}},ajaxPrefilter:f(X),ajaxTransport:f(r),ajax:function(bw,bu){if(typeof bw==="object"){bu=bw;bw=K}bu=bu||{};var bA=b.ajaxSetup({},bu),bP=bA.context||bA,bD=bP!==bA&&(bP.nodeType||bP instanceof b)?b(bP):b.event,bO=b.Deferred(),bK=b._Deferred(),by=bA.statusCode||{},bz,bE={},bL={},bN,bv,bI,bB,bF,bx=0,bt,bH,bG={readyState:0,setRequestHeader:function(bQ,bR){if(!bx){var e=bQ.toLowerCase();bQ=bL[e]=bL[e]||bQ;bE[bQ]=bR}return this},getAllResponseHeaders:function(){return bx===2?bN:null},getResponseHeader:function(bQ){var e;if(bx===2){if(!bv){bv={};while((e=az.exec(bN))){bv[e[1].toLowerCase()]=e[2]}}e=bv[bQ.toLowerCase()]}return e===K?null:e},overrideMimeType:function(e){if(!bx){bA.mimeType=e}return this},abort:function(e){e=e||"abort";if(bI){bI.abort(e)}bC(0,e);return this}};function bC(bV,bT,bW,bS){if(bx===2){return}bx=2;if(bB){clearTimeout(bB)}bI=K;bN=bS||"";bG.readyState=bV?4:0;var bQ,b0,bZ,bU=bW?bg(bA,bG,bW):K,bR,bY;if(bV>=200&&bV<300||bV===304){if(bA.ifModified){if((bR=bG.getResponseHeader("Last-Modified"))){b.lastModified[bz]=bR}if((bY=bG.getResponseHeader("Etag"))){b.etag[bz]=bY}}if(bV===304){bT="notmodified";bQ=true}else{try{b0=F(bA,bU);bT="success";bQ=true}catch(bX){bT="parsererror";bZ=bX}}}else{bZ=bT;if(!bT||bV){bT="error";if(bV<0){bV=0}}}bG.status=bV;bG.statusText=bT;if(bQ){bO.resolveWith(bP,[b0,bT,bG])}else{bO.rejectWith(bP,[bG,bT,bZ])}bG.statusCode(by);by=K;if(bt){bD.trigger("ajax"+(bQ?"Success":"Error"),[bG,bA,bQ?b0:bZ])}bK.resolveWith(bP,[bG,bT]);if(bt){bD.trigger("ajaxComplete",[bG,bA]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bO.promise(bG);bG.success=bG.done;bG.error=bG.fail;bG.complete=bK.done;bG.statusCode=function(bQ){if(bQ){var e;if(bx<2){for(e in bQ){by[e]=[by[e],bQ[e]]}}else{e=bQ[bG.status];bG.then(e,e)}}return this};bA.url=((bw||bA.url)+"").replace(bo,"").replace(c,s[1]+"//");bA.dataTypes=b.trim(bA.dataType||"*").toLowerCase().split(h);if(bA.crossDomain==null){bF=J.exec(bA.url.toLowerCase());bA.crossDomain=!!(bF&&(bF[1]!=s[1]||bF[2]!=s[2]||(bF[3]||(bF[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bA.data&&bA.processData&&typeof bA.data!=="string"){bA.data=b.param(bA.data,bA.traditional)}aQ(X,bA,bu,bG);if(bx===2){return false}bt=bA.global;bA.type=bA.type.toUpperCase();bA.hasContent=!aL.test(bA.type);if(bt&&b.active++===0){b.event.trigger("ajaxStart")}if(!bA.hasContent){if(bA.data){bA.url+=(L.test(bA.url)?"&":"?")+bA.data}bz=bA.url;if(bA.cache===false){var bs=b.now(),bM=bA.url.replace(bp,"$1_="+bs);bA.url=bM+((bM===bA.url)?(L.test(bA.url)?"&":"?")+"_="+bs:"")}}if(bA.data&&bA.hasContent&&bA.contentType!==false||bu.contentType){bG.setRequestHeader("Content-Type",bA.contentType)}if(bA.ifModified){bz=bz||bA.url;if(b.lastModified[bz]){bG.setRequestHeader("If-Modified-Since",b.lastModified[bz])}if(b.etag[bz]){bG.setRequestHeader("If-None-Match",b.etag[bz])}}bG.setRequestHeader("Accept",bA.dataTypes[0]&&bA.accepts[bA.dataTypes[0]]?bA.accepts[bA.dataTypes[0]]+(bA.dataTypes[0]!=="*"?", */*; q=0.01":""):bA.accepts["*"]);for(bH in bA.headers){bG.setRequestHeader(bH,bA.headers[bH])}if(bA.beforeSend&&(bA.beforeSend.call(bP,bG,bA)===false||bx===2)){bG.abort();return false}for(bH in {success:1,error:1,complete:1}){bG[bH](bA[bH])}bI=aQ(r,bA,bu,bG);if(!bI){bC(-1,"No Transport")}else{bG.readyState=1;if(bt){bD.trigger("ajaxSend",[bG,bA])}if(bA.async&&bA.timeout>0){bB=setTimeout(function(){bG.abort("timeout")},bA.timeout)}try{bx=1;bI.send(bE,bC)}catch(bJ){if(status<2){bC(-1,bJ)}else{b.error(bJ)}}}return bG},param:function(e,bt){var bs=[],bv=function(bw,bx){bx=b.isFunction(bx)?bx():bx;bs[bs.length]=encodeURIComponent(bw)+"="+encodeURIComponent(bx)};if(bt===K){bt=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){bv(this.name,this.value)})}else{for(var bu in e){v(bu,e[bu],bt,bv)}}return bs.join("&").replace(j,"+")}});function v(bt,bv,bs,bu){if(b.isArray(bv)){b.each(bv,function(bx,bw){if(bs||al.test(bt)){bu(bt,bw)}else{v(bt+"["+(typeof bw==="object"||b.isArray(bw)?bx:"")+"]",bw,bs,bu)}})}else{if(!bs&&bv!=null&&typeof bv==="object"){for(var e in bv){v(bt+"["+e+"]",bv[e],bs,bu)}}else{bu(bt,bv)}}}b.extend({active:0,lastModified:{},etag:{}});function bg(bA,bz,bw){var bs=bA.contents,by=bA.dataTypes,bt=bA.responseFields,bv,bx,bu,e;for(bx in bt){if(bx in bw){bz[bt[bx]]=bw[bx]}}while(by[0]==="*"){by.shift();if(bv===K){bv=bA.mimeType||bz.getResponseHeader("content-type")}}if(bv){for(bx in bs){if(bs[bx]&&bs[bx].test(bv)){by.unshift(bx);break}}}if(by[0] in bw){bu=by[0]}else{for(bx in bw){if(!by[0]||bA.converters[bx+" "+by[0]]){bu=bx;break}if(!e){e=bx}}bu=bu||e}if(bu){if(bu!==by[0]){by.unshift(bu)}return bw[bu]}}function F(bE,bw){if(bE.dataFilter){bw=bE.dataFilter(bw,bE.dataType)}var bA=bE.dataTypes,bD={},bx,bB,bt=bA.length,by,bz=bA[0],bu,bv,bC,bs,e;for(bx=1;bx=bs.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bs.animatedProperties[this.prop]=true;for(bt in bs.animatedProperties){if(bs.animatedProperties[bt]!==true){e=false}}if(e){if(bs.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bz,bA){bw.style["overflow"+bA]=bs.overflow[bz]})}if(bs.hide){b(bw).hide()}if(bs.hide||bs.show){for(var bx in bs.animatedProperties){b.style(bw,bx,bs.orig[bx])}}bs.complete.call(bw)}return false}else{if(bs.duration==Infinity){this.now=bu}else{by=bu-this.startTime;this.state=by/bs.duration;this.pos=b.easing[bs.animatedProperties[this.prop]](this.state,by,0,1,bs.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){for(var bs=b.timers,e=0;e").appendTo(e),bt=bs.css("display");bs.remove();if(bt==="none"||bt===""){if(!a6){a6=aq.createElement("iframe");a6.frameBorder=a6.width=a6.height=0}e.appendChild(a6);if(!m||!a6.createElement){m=(a6.contentWindow||a6.contentDocument).document;m.write((aq.compatMode==="CSS1Compat"?"":"")+"");m.close()}bs=m.createElement(bu);m.body.appendChild(bs);bt=b.css(bs,"display");e.removeChild(a6)}Q[bu]=bt}return Q[bu]}var U=/^t(?:able|d|h)$/i,aa=/^(?:body|html)$/i;if("getBoundingClientRect" in aq.documentElement){b.fn.offset=function(bF){var bv=this[0],by;if(bF){return this.each(function(e){b.offset.setOffset(this,bF,e)})}if(!bv||!bv.ownerDocument){return null}if(bv===bv.ownerDocument.body){return b.offset.bodyOffset(bv)}try{by=bv.getBoundingClientRect()}catch(bC){}var bE=bv.ownerDocument,bt=bE.documentElement;if(!by||!b.contains(bt,bv)){return by?{top:by.top,left:by.left}:{top:0,left:0}}var bz=bE.body,bA=aG(bE),bx=bt.clientTop||bz.clientTop||0,bB=bt.clientLeft||bz.clientLeft||0,bs=bA.pageYOffset||b.support.boxModel&&bt.scrollTop||bz.scrollTop,bw=bA.pageXOffset||b.support.boxModel&&bt.scrollLeft||bz.scrollLeft,bD=by.top+bs-bx,bu=by.left+bw-bB;return{top:bD,left:bu}}}else{b.fn.offset=function(bC){var bw=this[0];if(bC){return this.each(function(bD){b.offset.setOffset(this,bC,bD)})}if(!bw||!bw.ownerDocument){return null}if(bw===bw.ownerDocument.body){return b.offset.bodyOffset(bw)}b.offset.initialize();var bz,bt=bw.offsetParent,bs=bw,bB=bw.ownerDocument,bu=bB.documentElement,bx=bB.body,by=bB.defaultView,e=by?by.getComputedStyle(bw,null):bw.currentStyle,bA=bw.offsetTop,bv=bw.offsetLeft;while((bw=bw.parentNode)&&bw!==bx&&bw!==bu){if(b.offset.supportsFixedPosition&&e.position==="fixed"){break}bz=by?by.getComputedStyle(bw,null):bw.currentStyle;bA-=bw.scrollTop;bv-=bw.scrollLeft;if(bw===bt){bA+=bw.offsetTop;bv+=bw.offsetLeft;if(b.offset.doesNotAddBorder&&!(b.offset.doesAddBorderForTableAndCells&&U.test(bw.nodeName))){bA+=parseFloat(bz.borderTopWidth)||0;bv+=parseFloat(bz.borderLeftWidth)||0}bs=bt;bt=bw.offsetParent}if(b.offset.subtractsBorderForOverflowNotVisible&&bz.overflow!=="visible"){bA+=parseFloat(bz.borderTopWidth)||0;bv+=parseFloat(bz.borderLeftWidth)||0}e=bz}if(e.position==="relative"||e.position==="static"){bA+=bx.offsetTop;bv+=bx.offsetLeft}if(b.offset.supportsFixedPosition&&e.position==="fixed"){bA+=Math.max(bu.scrollTop,bx.scrollTop);bv+=Math.max(bu.scrollLeft,bx.scrollLeft)}return{top:bA,left:bv}}}b.offset={initialize:function(){var e=aq.body,bs=aq.createElement("div"),bv,bx,bw,by,bt=parseFloat(b.css(e,"marginTop"))||0,bu="
";b.extend(bs.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});bs.innerHTML=bu;e.insertBefore(bs,e.firstChild);bv=bs.firstChild;bx=bv.firstChild;by=bv.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(bx.offsetTop!==5);this.doesAddBorderForTableAndCells=(by.offsetTop===5);bx.style.position="fixed";bx.style.top="20px";this.supportsFixedPosition=(bx.offsetTop===20||bx.offsetTop===15);bx.style.position=bx.style.top="";bv.style.overflow="hidden";bv.style.position="relative";this.subtractsBorderForOverflowNotVisible=(bx.offsetTop===-5);this.doesNotIncludeMarginInBodyOffset=(e.offsetTop!==bt);e.removeChild(bs);b.offset.initialize=b.noop},bodyOffset:function(e){var bt=e.offsetTop,bs=e.offsetLeft;b.offset.initialize();if(b.offset.doesNotIncludeMarginInBodyOffset){bt+=parseFloat(b.css(e,"marginTop"))||0;bs+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bt,left:bs}},setOffset:function(bu,bD,bx){var by=b.css(bu,"position");if(by==="static"){bu.style.position="relative"}var bw=b(bu),bs=bw.offset(),e=b.css(bu,"top"),bB=b.css(bu,"left"),bC=(by==="absolute"||by==="fixed")&&b.inArray("auto",[e,bB])>-1,bA={},bz={},bt,bv;if(bC){bz=bw.position();bt=bz.top;bv=bz.left}else{bt=parseFloat(e)||0;bv=parseFloat(bB)||0}if(b.isFunction(bD)){bD=bD.call(bu,bx,bs)}if(bD.top!=null){bA.top=(bD.top-bs.top)+bt}if(bD.left!=null){bA.left=(bD.left-bs.left)+bv}if("using" in bD){bD.using.call(bu,bA)}else{bw.css(bA)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bt=this[0],bs=this.offsetParent(),bu=this.offset(),e=aa.test(bs[0].nodeName)?{top:0,left:0}:bs.offset();bu.top-=parseFloat(b.css(bt,"marginTop"))||0;bu.left-=parseFloat(b.css(bt,"marginLeft"))||0;e.top+=parseFloat(b.css(bs[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bs[0],"borderLeftWidth"))||0;return{top:bu.top-e.top,left:bu.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||aq.body;while(e&&(!aa.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bs,e){var bt="scroll"+e;b.fn[bt]=function(bw){var bu,bv;if(bw===K){bu=this[0];if(!bu){return null}bv=aG(bu);return bv?("pageXOffset" in bv)?bv[bs?"pageYOffset":"pageXOffset"]:b.support.boxModel&&bv.document.documentElement[bt]||bv.document.body[bt]:bu[bt]}return this.each(function(){bv=aG(this);if(bv){bv.scrollTo(!bs?bw:b(bv).scrollLeft(),bs?bw:b(bv).scrollTop())}else{this[bt]=bw}})}});function aG(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bs,e){var bt=e.toLowerCase();b.fn["inner"+e]=function(){var bu=this[0];return bu&&bu.style?parseFloat(b.css(bu,bt,"padding")):null};b.fn["outer"+e]=function(bv){var bu=this[0];return bu&&bu.style?parseFloat(b.css(bu,bt,bv?"margin":"border")):null};b.fn[bt]=function(bv){var bw=this[0];if(!bw){return bv==null?null:this}if(b.isFunction(bv)){return this.each(function(bA){var bz=b(this);bz[bt](bv.call(this,bA,bz[bt]()))})}if(b.isWindow(bw)){var bx=bw.document.documentElement["client"+e];return bw.document.compatMode==="CSS1Compat"&&bx||bw.document.body["client"+e]||bx}else{if(bw.nodeType===9){return Math.max(bw.documentElement["client"+e],bw.body["scroll"+e],bw.documentElement["scroll"+e],bw.body["offset"+e],bw.documentElement["offset"+e])}else{if(bv===K){var by=b.css(bw,bt),bu=parseFloat(by);return b.isNaN(bu)?by:bu}else{return this.css(bt,typeof bv==="string"?bv:bv+"px")}}}}});a9.jQuery=a9.$=b;FDJQuery=b.noConflict(true)})(window);FDLoader.bridge = new FDBridge(FDLoader.commEndpntUrl); var FDCPJs=function(){var aj,ae,M,C,r,ar,az,aA,q,v,l,ab,b,aV,d,g,Y,c,ap,V,J,t,ai,aR,p,m,P,j;aj=FDLoader.browserDetect.browser=="Explorer";ae=FDLoader.browserDetect.browser=="Chrome";M=FDLoader.browserDetect.OS=="Android";C=FDLoader.browserDetect.OS=="iOS";r=FDLoader.browserDetect.OS=="WinPhone";ar=FDLoader.browserDetect.OS=="BlackBerry";az=window.navigator.userAgent.indexOf("iPad")!=-1;aA=C||M||r||ar;l="iframe,object,embed,#sharebox,.wf-active #global_header,#yucsHead,#header-div,#header-container,#global-nav";q=true;m=false;p=0.1;P=8.5;j="in";ai=null;aR=null;v=null;ab=0;b=null;aV=null;d=0;g=0;Y=null;c=FDLoader.helpUrl+"?key="+FDLoader.pubKey;ap='Not seeing what you want? Try our new ShowMore  ';V='Select the text you wish to include and press ShowLess when you wish to Print or Save  ';J='use the edit tools to save paper and ink!  ';unimplSizeTxt="Page counts work with Letter and A4 portrait sized paper, feature disabled";t="There appears to be an issue but we're working on it. Try again shortly.";if(FDLoader.page==null){FDLoader.page="letter"}if(FDLoader.page==="a4"||FDLoader.page==="letter"){if(aj){if(FDLoader.page==="a4"){ai=869;aR=921}else{if(FDLoader.page==="letter"){ai=840;aR=890}}}else{if(FDLoader.page==="a4"){ai=898;aR=940}else{if(FDLoader.page==="letter"){ai=868;aR=908}}}}else{al(unimplSizeTxt,"caution");console.warn("Unimplemented pagination size: "+FDLoader.page);q=false}function T(){return v}function aD(){var aW=FDJQuery("#fd-device-tablet").css("display");return(typeof aW!="undefined"&&aW!="none")}function G(){var aY,aW,aX;aY=document.getElementById("fd-device-phone");aW=document.getElementById("fd-resource-css-phone");aX=aW&&aY&&FDJQuery(aY).css("display")!="none";if(aX&&!aA){aW.parentNode.removeChild(aW);aY.style.display="none";return false}return aX}function y(){if(ah()==0){FDJQuery("#cpf-viewbox-sidebar-button-removeImages").fadeTo("slow",0.33);FDJQuery("#cpf-viewbox-sidebar-button-removeImages").css("cursor","auto")}else{FDJQuery("#cpf-viewbox-sidebar-button-removeImages").fadeTo("slow",1);FDJQuery("#cpf-viewbox-sidebar-button-removeImages").css("cursor","pointer")}}function U(){if(ab==0){FDJQuery("#cpf-viewbox-sidebar-button-undo").fadeTo("slow",0.33);FDJQuery("#cpf-viewbox-sidebar-button-undo").css("cursor","auto")}else{FDJQuery("#cpf-viewbox-sidebar-button-undo").fadeTo("slow",1);FDJQuery("#cpf-viewbox-sidebar-button-undo").css("cursor","pointer")}}function at(){var aW=parseInt(FDJQuery("#cpf-printOut").css("font-size"));if(aW==26){FDJQuery("#cpf-viewbox-sidebar-button-fontSize-larger").fadeTo("slow",0.33);FDJQuery("#cpf-viewbox-sidebar-button-fontSize-larger").css("cursor","auto")}else{FDJQuery("#cpf-viewbox-sidebar-button-fontSize-larger").fadeTo("slow",1);FDJQuery("#cpf-viewbox-sidebar-button-fontSize-larger").css("cursor","pointer")}if(aW==8){FDJQuery("#cpf-viewbox-sidebar-button-fontSize-smaller").fadeTo("slow",0.33);FDJQuery("#cpf-viewbox-sidebar-button-fontSize-smaller").css("cursor","auto")}else{FDJQuery("#cpf-viewbox-sidebar-button-fontSize-smaller").fadeTo("slow",1);FDJQuery("#cpf-viewbox-sidebar-button-fontSize-smaller").css("cursor","pointer")}}function E(){if(document.getElementById("cpf-iframe-failover")){FDJQuery("#cpf-viewbox-sidebar-buttonGrp-output .cpf-viewbox-sidebar-button").not("#cpf-viewbox-sidebar-button-print").not("#cpf-viewbox-sidebar-button-email").remove();FDJQuery("#cpf-viewbox-sidebar-buttonGrp-edit").css("display","none")}else{if(FDJQuery(".cpf-viewbox-sidebar-error").length==1){al(t,"error")}else{if(FDJQuery(".cpf-viewbox-sidebar-button-cloud").length!=0){if(FDJQuery("#cpf-viewbox-sidebar-button-pdf").length==0||FDJQuery("#cpf-viewbox-sidebar-button-rtf").length==0){if(FDJQuery("#cpf-viewbox-sidebar-button-pdf").length==0){v="rtf"}else{if(FDJQuery("#cpf-viewbox-sidebar-button-rtf").length==0){v="pdf"}}}}if(T()!=null&&T()!="pdf"){FDJQuery("#cpf-viewbox-sidebar-button-pdf").remove()}if(T()!=null&&T()!="rtf"){FDJQuery("#cpf-viewbox-sidebar-button-rtf").remove()}if(aA||FDJQuery("#cpf-printOut").length==0){FDJQuery(".kindleWidget").remove()}if(FDJQuery("#cpf-printOut-body img").length==0){FDJQuery("#cpf-viewbox-sidebar-button-removeImages").remove()}if(aA||FDJQuery(".cpf-engine-deletedContent").length==0){FDJQuery("#cpf-viewbox-sidebar-button-showDeleted").remove()}}}if(M){FDJQuery("#cpf-viewbox-sidebar-button-print").remove()}}function Q(){var aW=encodeURIComponent(FDLoader.articleUrl);window.open("https://facebook.com/sharer.php?u="+aW,"cpfFacebook").focus()}function aG(){var aW=encodeURIComponent(FDLoader.articleUrl);window.open("https://www.linkedin.com/shareArticle?mini=true&url="+aW,"cpfLinkedin").focus()}function aM(){var aW,aX;aW=encodeURIComponent(FDLoader.articleUrl);aX=encodeURIComponent(FDJQuery(".cpf-printOut-header-title").html());window.open("https://twitter.com/share?url="+aW+"&text="+aX,"cpfTwitter","resizable=1,scrollbars=1,width=600,height=450").focus()}function L(aW){window.open(aW,"cpfInfo").focus()}function aa(aX){var aW=c;if(FDLoader.buttons){aW+="&buttons="+encodeURIComponent(FDLoader.buttons)}if(aX){aW+="#"+aX}window.open(aW,"cpfHelp","resizable=0,scrollbars=1,width=600,height=700").focus()}function aq(){var aW="mailto:"+encodeURIComponent("feedback@cleanprint.net")+"?Subject="+encodeURIComponent(FDLoader.productName+" feedback")+"&body="+encodeURIComponent("Let us know how we can improve your experience...\n\n\n\nThank you for your feedback.\n\n")+encodeURIComponent("URL: ")+encodeURIComponent(FDLoader.articleUrl)+encodeURIComponent("\nBrowser: ")+encodeURIComponent(window.navigator.userAgent)+encodeURIComponent("\nKey: ")+encodeURIComponent(FDLoader.pubKey);if(M){window.open(aW,"cpf_feedback").focus()}else{window.location.href=aW}return true}function A(){try{if(aj){document.execCommand("print",false,null)}else{window.print()}W("Print","button",true)}catch(aW){W("Print","button",false)}}function af(){W("Kindle","button",true)}function H(){k("googlePrint","pdf");w("Google Print")}function ak(){k("pdf","pdf");w("PDF")}function ay(){k("rtf","rtf");w("RTF")}function ad(aW){k("dropbox",aW);w("Dropbox")}function e(aW){k("googleDocs",aW);w("GoogleDocs")}function aB(aW){k("boxDotNet",aW);w("boxDotNet")}function k(aY,bg,bh,a9){var ba,a5,aW,a6,a1,a8,be,bb,a2,bc,a3,a7,a0,bd,bf,aX,a4,aZ;ba="cpf_form_"+aY;a5=document.getElementsByTagName("body")[0];aW=document.getElementById(ba);if(typeof bh=="undefined"||bh==null){bh="_blank"}if(typeof a9=="undefined"||a9==null){a9=null}if(M&&ae){aZ="get"}else{aZ="post"}if(!aW){aW=document.createElement("form");aW.setAttribute("id",ba);aW.setAttribute("name",ba);aW.setAttribute("action",FDLoader.actionUrl);aW.setAttribute("style","display:none");aW.setAttribute("target",bh);aW.setAttribute("method",aZ);aW.setAttribute("accept-charset","UTF-8");a5.appendChild(aW);a6=document.createElement("input");a6.setAttribute("type","hidden");a6.setAttribute("name","action");a6.setAttribute("value",aY);aW.appendChild(a6);a1=document.createElement("input");a1.setAttribute("type","hidden");a1.setAttribute("name","url");aW.appendChild(a1);a8=document.createElement("input");a8.setAttribute("type","hidden");a8.setAttribute("name","html");aW.appendChild(a8);be=document.createElement("input");be.setAttribute("type","hidden");be.setAttribute("name","title");aW.appendChild(be);bb=document.createElement("input");bb.setAttribute("type","hidden");bb.setAttribute("name","generator");aW.appendChild(bb);a2=document.createElement("input");a2.setAttribute("type","hidden");a2.setAttribute("name","page");aW.appendChild(a2);bc=document.createElement("input");bc.setAttribute("type","hidden");bc.setAttribute("name","key");aW.appendChild(bc);a3=document.createElement("input");a3.setAttribute("type","hidden");a3.setAttribute("name","hint");aW.appendChild(a3);a7=document.createElement("input");a7.setAttribute("type","hidden");a7.setAttribute("name","font");aW.appendChild(a7);a0=document.createElement("input");a0.setAttribute("type","hidden");a0.setAttribute("name","lessInk");aW.appendChild(a0);bd=document.createElement("input");bd.setAttribute("type","hidden");bd.setAttribute("name","sid");aW.appendChild(bd);if(FDLoader.api){bf=document.createElement("input");bf.setAttribute("type","hidden");bf.setAttribute("name","apiKey");aW.appendChild(bf);aX=document.createElement("input");aX.setAttribute("type","hidden");aX.setAttribute("name","apiVer");aW.appendChild(aX);a4=document.createElement("input");a4.setAttribute("type","hidden");a4.setAttribute("name","apiClient");aW.appendChild(a4)}}aW[1].value=FDLoader.articleUrl;aW[3].value=FDJQuery(".cpf-printOut-header-title").html();aW[4].value=bg;aW[5].value=FDLoader.page;aW[6].value=FDLoader.pubKey;aW[7].value=a9!=null?a9:"";aW[8].value=FDJQuery("#cpf-printOut").css("font-size");aW[9].value=FDJQuery("#cpf-printOut").hasClass("lessInk")?true:false;aW[10].value=FDLoader.sid;if(a9==null){aW[2].value=FDJQuery("#cpf-printOut").html()}if(FDLoader.api){aW[11].value=FDLoader.api.key;aW[12].value=FDLoader.api.version;aW[13].value=FDLoader.api.client}aW.setAttribute("action",FDLoader.actionUrl+"?"+new Date().getTime());aW.submit()}function w(aW){if(FDLoader.analytics){_gaq.push(["cpf_trackEvent","CleanPrint",aW])}}function aP(){var aX,aW;aX=parseInt(FDJQuery("#cpf-printOut").css("font-size"));aW=aX+2;if(aW<28){FDJQuery("#cpf-printOut").css("font-size",aW);at();am()}}function n(){var aX,aW;aX=parseInt(FDJQuery("#cpf-printOut").css("font-size"));aW=aX-2;if(aW>6){FDJQuery("#cpf-printOut").css("font-size",aW);at();am()}}function s(){if(FDJQuery("#cpf-printOut").hasClass("lessInk")){FDJQuery("#cpf-printOut").removeClass("lessInk");FDJQuery("#cpf-viewbox-sidebar-button-useLessInk").removeClass("down");FDJQuery("#cpf-viewbox-sidebar-button-useLessInk").addClass("hover")}else{FDJQuery("#cpf-printOut").addClass("lessInk");FDJQuery("#cpf-viewbox-sidebar-button-useLessInk").addClass("down");FDJQuery("#cpf-viewbox-sidebar-button-useLessInk").removeClass("hover")}}function D(){var aW,aX;if(FDJQuery("#cpf-printOut").hasClass("showDeleted")){FDJQuery("#cpf-printOut").removeClass("showDeleted");FDJQuery("#cpf-viewbox-sidebar-button-showDeleted").removeClass("down");FDJQuery("#cpf-viewbox-sidebar-button-showDeleted").removeClass("hover");FDJQuery("#cpf-viewbox-sidebar-buttonGrp-output").slideToggle("slow");FDJQuery("#cpf-viewbox-sidebar-buttonGrp-edit .cpf-viewbox-sidebar-button").not("#cpf-viewbox-sidebar-button-showDeleted").slideToggle("slow");FDJQuery("#cpf-viewbox-sidebar-button-text-showDeleted").html("Show More");y();h(true)}else{aW=FDJQuery(".cpf-printOut-body-content").not(".cpf-engine-deletedContent").first();aX=aW.position().top;FDJQuery("#cpf-printOut").addClass("showDeleted");FDJQuery("#cpf-viewbox-sidebar-button-showDeleted").addClass("down");FDJQuery("#cpf-viewbox-sidebar-button-showDeleted").removeClass("hover");FDJQuery("#cpf-viewbox-sidebar-buttonGrp-output").slideToggle("slow");FDJQuery("#cpf-viewbox-sidebar-buttonGrp-edit .cpf-viewbox-sidebar-button").not("#cpf-viewbox-sidebar-button-showDeleted").slideToggle("slow");FDJQuery("#cpf-viewbox-sidebar-button-text-showDeleted").html("Show Less");h(false);al(V,"caution");FDJQuery("#cpf-viewbox-content").scrollTop(aW.position().top-aX)}}function a(){if(ah()>0){ab++;FDJQuery(".cpf-printOut-body-content-img-container").each(function(aW){if(!FDJQuery(this).hasClass("cpf-viewbox-deletedContent")&&!FDJQuery(this).hasClass("cpf-engine-deletedContent")){FDJQuery(this).slideUp(function(){am()});FDJQuery(this).addClass("cpf-viewbox-deletedContent");FDJQuery(this).addClass("cpf-viewbox-deletedContent_"+ab)}});y();U()}}function aF(){FDJQuery(".cpf-viewbox-deletedContent").each(function(aW){if(FDJQuery(this).hasClass("cpf-viewbox-deletedContent_"+ab)){FDJQuery(this).removeClass("cpf-viewbox-deletedContent_"+ab);FDJQuery(this).removeClass("cpf-viewbox-deletedContent");FDJQuery(this).slideDown(function(){am()})}});if(ab>0){ab--}y();U()}function aL(){if(FDJQuery(".cpf-printOut-notes").css("display")=="block"){FDJQuery(".cpf-printOut-notes").slideUp(function(){FDJQuery(this).addClass("cpf-viewbox-deletedContent");am()});FDJQuery("#cpf-viewbox-sidebar-button-addNote").removeClass("down");FDJQuery("#cpf-viewbox-sidebar-button-addNote").addClass("hover")}else{FDJQuery(".cpf-printOut-notes").slideDown(function(){FDJQuery(this).removeClass("cpf-viewbox-deletedContent");am()});FDJQuery("#cpf-viewbox-sidebar-button-addNote").addClass("down");FDJQuery("#cpf-viewbox-sidebar-button-addNote").removeClass("hover");FDJQuery(".cpf-printOut-notes").focus()}}function ah(){var aW=0;FDJQuery("#cpf-printOut-body img").each(function(aX){if(FDJQuery(this).closest(".cpf-viewbox-deletedContent").length==0&&FDJQuery(this).closest(".cpf-engine-deletedContent").length==0){aW++}});return aW}function F(){FDJQuery("#cpf-closeButton").live({click:function(aW){x()}});FDJQuery("#cpf-root").live({click:function(aW){x()}})}function ag(){FDJQuery("#cpf-closeButton").die();FDJQuery("#cpf-root").die()}function i(){var aX,aW,a0,aZ,aY;if(aA){FDJQuery("#cpf-printOut-body").after("");FDJQuery("#cpf-viewbox-edit-deleteBtn").bind("click",function(a1){a1.stopPropagation();aX=FDJQuery(this);aW=FDJQuery(".cpf-viewbox-edit-highlight");aW.slideUp(function(){aW.addClass("cpf-viewbox-deletedContent");ab++;y();U();aW.addClass("cpf-viewbox-deletedContent_"+ab);aW.removeClass("cpf-viewbox-edit-highlight");aX.css("display","none");am()})});FDJQuery("#cpf-printOut *").live("touchend",function(a1){aY=FDJQuery(this);if(!aY.hasClass("cpf-undeletable")&&(aY.css("display")!="inline"||aY.hasClass("cpf-printOut-body-content"))&&aY.attr("id")!="cpf-printOut-body"&&aY.attr("id")!="cpf-printOut-header"&&aY.attr("id")!="cpf-viewbox-edit-deleteBtn"){a1.stopPropagation();FDJQuery(".cpf-viewbox-edit-highlight").removeClass("cpf-viewbox-edit-highlight");aX=FDJQuery("#cpf-viewbox-edit-deleteBtn");a0=aY.offset().top-9;aZ=aY.offset().left+aY.width()-10;aY.addClass("cpf-viewbox-edit-highlight");aX.css("display","inline");aX.css("top",a0+"px");aX.css("left",aZ+"px")}})}else{FDJQuery("#cpf-printOut-header .cpf-deletable").live("mouseover",function(a1){if(!FDJQuery("#cpf-printOut").hasClass("showDeleted")){a1.stopPropagation();FDJQuery(this).css("cursor","url("+FDLoader.mediaRoot+"pfviewer/images/close.cur), auto");FDJQuery(this).addClass("cpf-viewbox-edit-highlight")}});FDJQuery("#cpf-printOut-body *").live("mouseover",function(a1){if(!FDJQuery("#cpf-printOut").hasClass("showDeleted")){if(!FDJQuery(this).hasClass("cpf-undeletable")&&(FDJQuery(this).css("display")!="inline"||FDJQuery(this).hasClass("cpf-printOut-body-content"))){if(FDJQuery(this).get(0).nodeName!="TD"&&FDJQuery(this).get(0).nodeName!="TH"){a1.stopPropagation();FDJQuery(this).css("cursor","url("+FDLoader.mediaRoot+"pfviewer/images/close.cur), auto");FDJQuery(this).addClass("cpf-viewbox-edit-highlight")}}}else{if(FDJQuery(this).hasClass("cpf-engine-deletedContent")){if(FDJQuery(this).get(0).nodeName!="TD"&&FDJQuery(this).get(0).nodeName!="TH"){a1.stopPropagation();FDJQuery(this).css("cursor","url("+FDLoader.mediaRoot+"pfviewer/images/addBack.png), auto");FDJQuery(this).addClass("cpf-engine-deletedContent-highlight")}}}});FDJQuery("#cpf-printOut *").live("mouseout",function(a1){if(FDJQuery(this).hasClass("cpf-viewbox-edit-highlight")){a1.stopPropagation();FDJQuery(this).css("cursor","");FDJQuery(this).removeClass("cpf-viewbox-edit-highlight")}else{if(FDJQuery(this).hasClass("cpf-engine-deletedContent-highlight")){a1.stopPropagation();FDJQuery(this).css("cursor","");FDJQuery(this).removeClass("cpf-engine-deletedContent-highlight")}}});FDJQuery("#cpf-printOut *").live("click",function(a1){if(FDJQuery(this).get(0).nodeName=="A"){a1.preventDefault()}if(FDJQuery(this).hasClass("cpf-viewbox-edit-highlight")){a1.preventDefault();a1.stopPropagation();FDJQuery(this).slideUp(function(){am()});FDJQuery(this).addClass("cpf-viewbox-deletedContent");ab++;y();U();FDJQuery(this).addClass("cpf-viewbox-deletedContent_"+ab);FDJQuery(this).removeClass("cpf-viewbox-edit-highlight")}else{if(FDJQuery(this).hasClass("cpf-engine-deletedContent-highlight")){a1.preventDefault();a1.stopPropagation();FDJQuery(this).removeClass("cpf-engine-deletedContent-highlight");FDJQuery(this).removeClass("cpf-engine-deletedContent-block");FDJQuery(this).removeClass("cpf-engine-deletedContent");FDJQuery(this).addClass("cpf-printOut-body-content");FDJQuery(this).css("cursor","");ac(FDJQuery(this));FDJQuery(this).find("*").each(function(){FDJQuery(this).removeClass("cpf-engine-deletedContent-block");FDJQuery(this).removeClass("cpf-engine-deletedContent");FDJQuery(this).addClass("cpf-printOut-body-content")})}}})}window.onbeforeprint=function(){document.getElementById("cpf-viewbox-sidebar-button-print").style.visibility="hidden"};window.onafterprint=function(){document.getElementById("cpf-viewbox-sidebar-button-print").style.visibility="visible"}}function ac(aW){var aX=aW.closest(".cpf-engine-deletedContent");if(aX.length>0){aX.removeClass("cpf-engine-deletedContent-block");aX.removeClass("cpf-engine-deletedContent");ac(aX)}}function av(aW){aW=aW.toLowerCase();return(aW.search(/^[a-zA-Z0-9_\.-]+@[a-zA-Z0-9]+([\.-]?[a-zA-Z0-9]+)*(\.[a-zA-Z]{2,4})+$/)!=-1)}function aS(){var aW="url="+encodeURIComponent(FDLoader.articleUrl)+"&action="+encodeURIComponent("emailForm")+"&title="+encodeURIComponent(document.title)+"&key="+encodeURIComponent(FDLoader.pubKey);if(FDLoader.sid!=null){aW+="&sid="+encodeURIComponent(FDLoader.sid)}FDLoader.bridge.submitRequest(aW,FDLoader.tmax,an);w("Email - Show")}function I(){var a7,a4,a6,a1,a3,aZ,a5,a0,a2,aW,aY,aX;a7=document.forms.cpfEmailForm;a4=a7.userName;a6=a7.fromEmail;a1=a7.html;aZ=a7.hint;al();FDJQuery(".cpf-email-body-form-input").removeClass("error");if(az){FDJQuery(".cpf-email-body-form-submit").focus()}if(document.parentHtml){a1.value=document.parentHtml;if(document.parentFDJQuery("#cpf-printOut")){aZ.value="preProcessed"}}if(a4.value.length==0||a4.value.search(/^[a-z0-9_\-\s.]+$/i)==-1){al("Please enter a value for Your Name containing only alphanumeric and [ ._-] characters","caution");FDJQuery("#cpf-email-body-form-name").addClass("error");if(!az){FDJQuery("#cpf-email-body-form-name .cpf-email-body-form-input input").focus()}return false}if(!(av(a6.value))){al("Please enter a valid Your E-mail Address","caution");FDJQuery("#cpf-email-body-form-fromAddr").addClass("error");if(!az){FDJQuery("#cpf-email-body-form-fromAddr .cpf-email-body-form-input input").focus()}return false}aY=document.getElementById("toEmail").value.split(",");for(a0=0;a0Recipient's E-mail Addresses separated by a comma","caution");FDJQuery("#cpf-email-body-form-toAddr").addClass("error");if(!az){FDJQuery("#cpf-email-body-form-toAddr .cpf-email-body-form-input input").focus()}return false}}aX=FDJQuery("#cpf-email-body-form-attachments");if(aX.length>0&&aX.css("display")!="none"&&FDJQuery("#cpf-email-body-form-attachments input:checked").length==0){al("Select at least one of the Document type(s)","caution");FDJQuery("#cpf-email-body-form-attachments").addClass("error");return false}a3=FDJQuery("#cpf-email-body-form-captcha");if(a3.length>0&&a3.css("display")!="none"&&FDJQuery("#cpf-email-body-form-captcha input").val().length==0){al("1 -- Please enter the Security Text","caution");a3.addClass("error");if(!az){FDJQuery("#cpf-email-body-form-captcha .cpf-email-body-form-input input").focus()}return false}a2="";aW=a7.elements;for(a0=0;a0Your E-mail Address","caution");FDJQuery("#cpf-email-body-form-fromAddr").addClass("error");if(!az){FDJQuery("#cpf-email-body-form-fromAddr .cpf-email-body-form-input input").focus()}}else{if(document.getElementById("cpf-email-to-email-error")){al("Please enter valid Recipient's E-mail Addresses separated by a comma","caution");FDJQuery("#cpf-email-body-form-toAddr").addClass("error");if(!az){FDJQuery("#cpf-email-body-form-toAddr .cpf-email-body-form-input input").focus()}}else{if(document.getElementById("cpf-email-captcha-error")){al("Please enter the correct Security Text","caution");FDJQuery("#cpf-email-body-form-captcha").addClass("error");if(!az){FDJQuery("#cpf-email-body-form-captcha .cpf-email-body-form-input input").focus()}}else{if(!az){FDJQuery("#cpf-email-body-form-name .cpf-email-body-form-input input").focus()}}}}}function aU(){var aZ,aX,aY,aW;aZ=document.getElementById("captcha");aX=document.getElementById("cpf-email-captcha-img");aY=aX.src;aW=aY.indexOf("tstamp");aZ.value="";aY=aY.substr(0,aW)+"tstamp"+new Date().getTime();aX.src=aY}function S(){if(typeof googletag!="undefined"&&typeof googletag.slots!="undefined"){googletag.pubads().refresh(googletag.slots)}}function aE(aY){var aW,a2,a3,a0,a4,aX,a1,aZ;FDJQuery(".cpf-viewbox-sidebar-button-slider.open").each(function(){aW=FDJQuery(this);if(aW.attr("id")!=aY){aE(aW.attr("id"))}});aW=FDJQuery("#"+aY);a2=aW.prev();a3=a2.position().top;a0=a2.position().left;a4=a0+a2.width();aX=aW.outerWidth();a1=aW.hasClass("open");aZ=a1?-aX:0;aW.css("display","block");aW.css("top",a3);if(!a1){aW.addClass("open");a2.addClass("open")}aW.animate({left:(aZ+a4)},function(){if(a1){aW.css("display","none");aW.removeClass("open");a2.removeClass("open")}})}function au(){var aW,aY,aX;aW=document.getElementsByTagName("body")[0];aY=document.createElement("div");aY.id="cpf-root";aK(false);aX=document.createElement("div");aX.id="cpf-overlay";aW.appendChild(aX);aW.appendChild(aY)}function aK(aX){var aW,aY;aW=document.getElementsByTagName("body")[0];aY=document.createElement("img");aY.id="cpf-busy-spinner";aY.src=FDLoader.mediaRoot+"pfviewer/images/busy-spinner.gif";if(aX){aY.setAttribute("style","margin-left:-225px")}aW.appendChild(aY)}function aT(){var aW=document.getElementById("cpf-busy-spinner");if(aW){aW.parentNode.removeChild(aW)}}function f(){var aZ,a1,aW,aY,a0,aX;aZ=document.getElementsByTagName("head")[0];a1=document.getElementById("cpf_printlink");if(a1){a1.parentNode.removeChild(a1)}aW=document.getElementsByTagName("link");for(aY=0;aY0){aY.appendChild(Y.pop())}Y=null}}function O(a0){var aX,a5,a1,aZ,a4,a2,aY,aW,a6;try{aX=document.getElementById("cpf-root");FDJQuery("body").find(FDJQuery(l)).fadeOut("slow",function(){FDJQuery(this).addClass("cpf-publisher-noShow").css("display","")});a5=document.createElement("div");a5.id="cpf-closeButton";aX.appendChild(a5);a1=document.createElement("div");a1.id="cpf-tickerTree";aX.appendChild(a1);aZ=document.createElement("iframe");aZ.id="cpf-viewbox";aZ.name="cpf-viewbox";aZ.setAttribute("frameBorder","0");aZ.setAttribute("marginWidth","0");aZ.setAttribute("marginHeight","0");aZ.setAttribute("vspace","0");aZ.setAttribute("hspace","0");aZ.setAttribute("scrolling","no");aZ.setAttribute("allowTransparency","true");aX.appendChild(aZ);try{a4=aZ.contentDocument?aZ.contentDocument:window.frames["cpf-viewbox"].document}catch(a3){aZ.src="javascript:void((function(){document.open();document.domain='"+document.domain+"';document.close();})());";a4=window.frames["cpf-viewbox"].document}a4.write(a0);a4.close();a4.parentFDJQuery=FDJQuery;a4.parentFDCPJs=FDCPJs;a4.parentHtml=FDJQuery("#cpf-viewbox-content").html();a4.parentSid=FDLoader.sid;if(document.parentFDJQuery){document.parentFDJQuery("#cpf-closeButton").css("display","none");document.parentFDJQuery("#cpf-tickerTree").css("display","none")}a2=FDJQuery("body");b=a2.css("overflow-x");aV=a2.css("overflow-y");d=0;g=0;a2.css("overflow-x","hidden");a2.css("overflow-y","hidden");if(aD()||G()){u()}if(aj&&"BackCompat"==document.compatMode){d=a2[0].scrollTop;g=a2[0].scrollLeft;a2[0].scrollTop=0;a2[0].scrollLeft=0;FDJQuery("#cpf-root").css("position","absolute");FDJQuery("#cpf-overlay").css("position","absolute");FDJQuery("#cpf-busy-spinner").css("position","absolute")}K();FDJQuery("#cpf-tickerTree").fadeIn("slow");FDJQuery("#cpf-closeButton").fadeIn("slow");if(az){window.addEventListener("orientationchange",function(){K();aY=window.frames["cpf-viewbox"];aW=document.createEvent("HTMLEvents");aW.initEvent("resize",true,false);aY.document.documentElement.dispatchEvent(aW)},false)}else{FDJQuery(window).resize(function(){K()})}F();f();aT()}catch(a3){aX=document.getElementById("cpf-root");a6=document.getElementById("cpf-overlay");if(aX){aX.parentNode.removeChild(aX)}if(a6){a6.parentNode.removeChild(a6)}aT();aI(false);throw a3}}function aO(){var aY,a0,aX,aW,a3,aZ,a1,a2;aY=FDJQuery("#cpf-viewbox");a0=FDJQuery("#cpf-closeButton");aX=FDJQuery("#cpf-tickerTree");aW=aY.offset();a3=53;aZ=698;a2=a3-12;a1=a3+aZ-1;if(aW&&a0){a0.css("left",aW.left+a2+"px")}if(aW&&aX){aX.css("left",aW.left+a1+"px")}}function K(){var aY,aX,aW;aY=FDJQuery("#cpf-viewbox");aX=window.innerHeight==Number.Nan?document.documentElement.clientHeight:window.innerHeight;aW=az?20:30;aY.height(aX-aW);aO()}function z(aW){FDJQuery(".cpf-viewbox-sidebar-button").not("#cpf-viewbox-sidebar-button-print").not("#cpf-viewbox-feedback-tab").slideToggle("slow");if(aW){FDJQuery(".cpf-viewbox-sidebar-buttonGrp-opener").slideToggle("slow")}}function aN(){var a1,a3,aW,a4,a2,a0,aX,aY,aZ;FDJQuery("#cpf-viewbox-sidebar .cpf-viewbox-sidebar-button").css("display","");FDJQuery(".cpf-viewbox-sidebar-buttonGrp-opener").remove();FDJQuery("#cpf-viewbox-body").removeClass("xxxx-smallScreen");FDJQuery("#cpf-viewbox-body").removeClass("xxx-smallScreen");FDJQuery("#cpf-viewbox-body").removeClass("xx-smallScreen");FDJQuery("#cpf-viewbox-body").removeClass("x-smallScreen");FDJQuery("#cpf-viewbox-body").removeClass("smallScreen");FDJQuery("#cpf-viewbox-body").removeClass("xxxx-narrowScreen");FDJQuery("#cpf-viewbox-body").removeClass("xxx-narrowScreen");FDJQuery("#cpf-viewbox-body").removeClass("xx-narrowScreen");FDJQuery("#cpf-viewbox-body").removeClass("x-narrowScreen");FDJQuery("#cpf-viewbox-body").removeClass("narrowScreen");a1=FDJQuery("#cpf-viewbox-header");a3=FDJQuery("#cpf-viewbox-statusbar");aW=FDJQuery("#cpf-viewbox-sidebar");a4=FDJQuery("#cpf-viewbox-sharebar");a2=FDJQuery("#cpf-viewbox-content");a0=a1.height()+a3.height()+a4.height();aX=8;aY=FDJQuery(window).height()-(a0+aX);aZ=aY+a3.height()+a4.height();if(G()){aW.css("max-height",aZ);return}aW.height(aZ);if(aW.height()>aZ){FDJQuery("#cpf-viewbox-body").addClass("smallScreen")}if(aW.height()>aZ){FDJQuery("#cpf-viewbox-body").addClass("x-smallScreen")}if(aW.height()>aZ){FDJQuery("#cpf-viewbox-body").addClass("xx-smallScreen")}if(aW.height()>aZ){FDJQuery("#cpf-viewbox-body").addClass("xxx-smallScreen")}if(aW.height()>aZ){FDJQuery('
').mouseover(function(){if(!FDJQuery(this).hasClass("down")){FDJQuery(this).addClass("hover")}return false}).mouseout(function(){if(!FDJQuery(this).hasClass("down")){FDJQuery(this).removeClass("hover")}return false}).click(function(){z(true)}).insertAfter(":not(#cpf-viewbox-sidebar-buttonGrp-output) > .cpf-viewbox-sidebar-buttonGrp-heading");FDJQuery('
').mouseover(function(){if(!FDJQuery(this).hasClass("down")){FDJQuery(this).addClass("hover")}return false}).mouseout(function(){if(!FDJQuery(this).hasClass("down")){FDJQuery(this).removeClass("hover")}return false}).click(function(){z(true)}).insertAfter("#cpf-viewbox-sidebar-button-print");FDJQuery("#cpf-viewbox-body").addClass("xxxx-smallScreen")}aY-=a4.height()-FDJQuery(".cpf-viewbox-sharebar-buttons").height();a2.height(aY)}function h(a0){var aZ,aY,aW,aX;FDJQuery(".cpf-printOut-body-content-img").each(function(a1){aZ=FDJQuery(this);aY=aZ.width();aW=aZ.height();aZ.attr("cleanprint-style","width:"+aY+"px;height:"+aW+"px;");if(FDJQuery(this).next(".cpf-printOut-body-content-img-caption").length==1){aX=FDJQuery(this).next();aX.width(aY);aX.css("overflow","hidden");aX.attr("cleanprint-style","width:"+aY+"px; overflow:hidden;")}});if(a0){am()}}function x(){var aW;aT();FDJQuery(".cpf-publisher-noShow").removeClass("cpf-publisher-noShow");FDJQuery(".cpf-publisher-displayNone").removeClass("cpf-publisher-displayNone");FDJQuery(window).unbind("resize");FDJQuery("#cpf_printlink").remove();aI(false);FDJQuery("#cpf-root").fadeOut("slow",function(){FDJQuery("#cpf-root").remove();FDJQuery("#cpf-overlay").remove();if(document.parentFDJQuery){document.parentFDJQuery("#cpf-closeButton").css("display","block");document.parentFDJQuery("#cpf-tickerTree").css("display","block")}aW=FDJQuery("body");aW.css("overflow-x",b);aW.css("overflow-y",aV);if(aj&&b&&aV){aW[0].scrollTop=d;aW[0].scrollLeft=g}});ag()}function am(){var a3,aW,a4,aY,a2,aZ,a0,a5,aX,a1;if(!q){al();return}if(m){FDJQuery(".cpf-page-break").remove()}a3=0;aW=0;a4=FDJQuery("#cpf-printOut").height();if(a4>ai){a2=a4-ai;a3=1+Math.floor(a2/aR);aY=aR*p;aW=((a2%aR)+aY)/aR}else{aY=ai*p;aW=(a4+aY)/ai}aZ=Z((aW%1),2);a0="good";if(aZ!=0&&aZ<=p){a0="warning"}a5=Z((a3+aW),2);aX='
';aX+=''+a5+"";aX+=" estimated printed pages  |  ";if(FDJQuery("#cpf-viewbox-sidebar-button-showDeleted").length>0){aX+=ap}else{aX+=J}aX+="
";al(aX,a0);if(m){for(a1=1;a1").appendTo("#cpf-printOut")}}}function Z(aX,aY){var aW=String(Math.round(aX*Math.pow(10,aY))/Math.pow(10,aY));if(aW.indexOf(".")<0){aW+="."}while(aW.length-aW.indexOf(".")<=aY){aW+="0"}return aW}function al(aX,aW){if(G()){if(aX&&aW=="error"){alert(aX)}}else{if(aX){FDJQuery("#cpf-viewbox-statusbar-content").html(aX)}else{FDJQuery("#cpf-viewbox-statusbar-content").html("")}}FDJQuery("#cpf-viewbox-statusbar").removeClass("good");FDJQuery("#cpf-viewbox-statusbar").removeClass("warning");FDJQuery("#cpf-viewbox-statusbar").removeClass("caution");if(aW){FDJQuery("#cpf-viewbox-statusbar").addClass(aW)}aN()}function B(){var aY,aW,aX;aY=false;q=false;if(typeof document.parentSid!="undefined"){FDLoader.sid=document.parentSid}if(aA){FDJQuery(".cpf-viewbox-sidebar-button").unbind("mouseover").unbind("mouseout").removeAttr("onmouseover").removeAttr("onmouseout");if(G()){v="pdf";if(M&&ae&&FDLoader.browserDetect.version<29){}}}E();if(document.getElementById("cpf-printOut")){if(document.getElementById("cpf-viewbox-sidebar-button-undo")){i();y();U();q=true}FDJQuery("#cpf-printOut-body").before("
");aW=document.getElementById("cpf-printOut").getAttribute("hints");if(aW){if(aW.indexOf("multipage")!=-1){aX="Additional related content detected   ";aX+=" ";aX+="";aX+='  ';al(aX,"caution");aY=true}else{if((aW.indexOf("hiddenpage")!=-1)&&(FDJQuery(".cpf-printOut-hiddenpage")[0])){aX="Additional related content detected   ";aX+=" ";aX+="";aX+='  ';al(aX,"caution");aY=true}}}}else{if(document.getElementById("cpf-iframe-failover")){al("Edit controls and page counts disabled","caution");alert(FDLoader.productName+" is having trouble identifying\narticle content...\n\n...reverting to original content.")}else{if(document.getElementById("cpf-email")){ao()}else{if(G()){document.parentFDJQuery("#cpf-root").animate({left:0},"slow")}}}}aN();h(q&&!aY);window.onresize=function(){aN()}}function o(){var aW="url="+encodeURIComponent(FDLoader.articleUrl)+"&key="+encodeURIComponent(FDLoader.pubKey)+"&action="+encodeURIComponent("html4Fragment")+"&hint="+encodeURIComponent("multipage");if(FDLoader.hint!=null){aW+=","+encodeURIComponent(FDLoader.hint)}aK(true);al("Please wait while we fetch additional content...","caution");FDLoader.bridge.submitRequest(aW,FDLoader.tmax,aC)}function X(){FDJQuery(".cpf-printOut-hiddenpage").fadeIn("slow",function(){h(true);y();U()})}function aC(aW){if(typeof aW=="undefined"||aW.length==0){aT();return}FDJQuery("#cpf-printOut").fadeOut("slow",function(){FDJQuery("#cpf-viewbox-content").html(aW);if(document.getElementById("cpf-viewbox-sidebar-button-undo")){E();i();h(true);y();U()}FDJQuery("#cpf-printOut-header").after("
 
");aT()})}function aw(){var aY,aW;try{aY=new RegExp("/cpf/[^?]+?.*url=([^&]+)");if(aY.test(window.location.href)){aW=aY.exec(window.location.href);FDLoader.articleUrl=decodeURIComponent(aW[1])}}catch(aX){FDLoader.logMessage(40000,"RegExp failure: "+aX)}FDLoader.bridge.initXDR();if(document.getElementById("FDCPFBookmarklet")!=null){if(typeof FDCPLoader!="undefined"){if(1===FDCPLoader.z){CleanPrintPrintHtml(FDCPLoader.x,FDCPLoader.y)}else{if(2===FDCPLoader.z){CleanPrintSendEmail(FDCPLoader.x,FDCPLoader.y)}else{if(3===FDCPLoader.z){CleanPrintGeneratePdf(FDCPLoader.x,FDCPLoader.y)}else{FDLoader.logMessage(40000,"Bad cpf_init arg: "+FDCPLoader.z)}}}}else{FDCPUrl()}}}function ax(aW,aY){var aX;try{if(aW.indexOf("localhost")!=-1||aW.indexOf("file:")!=-1||aW.indexOf("about:")!=-1){FDLoader.dynamic=true}aX="url="+encodeURIComponent(aW)+"&action="+encodeURIComponent(aY)+"&title="+encodeURIComponent(document.title)+"&referer="+encodeURIComponent(window.location.href);if(FDLoader.pubKey!=0){aX+="&key="+encodeURIComponent(FDLoader.pubKey)}if(FDLoader.articleId!=null){aX+="&articleId="+encodeURIComponent(FDLoader.articleId)}if(FDLoader.name!=null){aX+="&name="+encodeURIComponent(FDLoader.name)}if(FDLoader.logo!=null){aX+="&logo="+encodeURIComponent(FDLoader.logo)}if(FDLoader.page!=null){aX+="&page="+encodeURIComponent(FDLoader.page)}if(FDLoader.hint!=null){aX+="&hint="+encodeURIComponent(FDLoader.hint)}if(FDLoader.category!=null){aX+="&category="+encodeURIComponent(FDLoader.category)}if(FDLoader.buttons!=null){aX+="&buttons="+encodeURIComponent(FDLoader.buttons)}if(FDLoader.tmax!=0){aX+="&timeout="+encodeURIComponent(FDLoader.tmax)}if(FDLoader.dynamic){aX+="&html="+encodeURIComponent(aH())}if(FDLoader.sid!=null){aX+="&sid="+encodeURIComponent(FDLoader.sid)}if(aD()){aX+="&device=tablet"}if(G()){aX+="&device=phone"}au();FDLoader.bridge.submitRequest(aX,FDLoader.tmax,O)}catch(aZ){FDLoader.bridge.handleError(40000,aZ.description,"cpf_cleanPrint: "+aZ)}}function N(aY,aW,aX){FDLoader.bridge.handleXDRError(aY,aW,aX);FDCPJs.destroyLightbox()}function aH(aW){FDJQuery(".cpf-publisher-displayNone").removeClass("cpf-publisher-displayNone");FDJQuery("body *").filter(function(){return(FDJQuery(this).css("display")==="none"||(FDJQuery(this).width()===0&&FDJQuery(this).height()===0))}).not("br").addClass("cpf-publisher-displayNone");FDJQuery("body *").filter(function(){return FDJQuery(this).css("direction")=="rtl"}).attr("cleanprint-style","direction:rtl;");return""+document.getElementsByTagName("html").item(0).innerHTML+""}function aJ(){errorMsg="CleanPrint does not support your browser, version and/or configuration.\n\nYou may also try again using one of the following browsers (minimum supported version listed in parentheses):\n * Chrome (2.0)\n * Firefox (3.5)\n * Internet Explorer (8.0)\n * Safari (4.0)\n\nIf you choose to continue please tell us about your experience via the Feedback button so we may better serve you.";if(document.getElementById("cpf-printOut")){alert(errorMsg)}}function R(){var aW;try{if(aj&&FDLoader.browserDetect.version>=7){aW="Internet Explorer is unable to connect. Some websites force IE's security mode to emulate an older version (e.g. IE9 -> IE7). Try these workarounds: \n * Disable Compatibility Mode \n * Install and/or enable the Adobe Flash add-on \n * Try a different browser vendor (e.g. Chrome, Firefox)"}else{aW="Your browser, version and/or configuration is not supported. Please try again using one of the following browsers (minimum supported version listed in parentheses):\n\n * Chrome (2.0)\n * Firefox (3.5)\n * Internet Explorer (8.0)\n * Safari (4.0)"}if(confirm(aW+"\n\nContinue printing with a degraded experience?")){window.print()}}catch(aX){str="";for(prop in aX){str+=prop+"["+aX[prop]+"], "}str+="["+aX+"]";FDCPJs.logMessage(40000,"cpf_unsupported: "+str);alert(aX.message)}x()}function aQ(aY,aX){var aW=FDLoader.bridge.xdr?FDLoader.bridge.xdr.name:"UNKNOWN";FDLoader.logMessage(aY,aX,{xdr:aW+"/"+FDLoader.bridge.vers})}function W(aX,aW,a1){try{if(FDLoader.reporting){var a0,aY,a2;aY=(new Date).getTime();a2=String(aY++);a0="action=reporting";a0+="&event="+aX;a0+="&type="+aW;a0+="&key="+encodeURIComponent(FDLoader.pubKey);a0+="&success="+a1;a0+="&url="+encodeURIComponent(FDLoader.articleUrl);a0+="&cacheKill="+a2;if(FDLoader.sid!=null){a0+="&sid="+encodeURIComponent(FDLoader.sid)}new Image().src=FDLoader.actionUrl+"?"+a0}}catch(aZ){}}return{init:aw,onLoad:B,handleError:N,logMessage:aQ,reportEvent:W,unsupported:R,semiSupported:aJ,destroyLightbox:x,trackEvent:w,facebook:Q,linkedin:aG,twitter:aM,infoWindow:L,help:aa,feedback:aq,printPage:A,kindlePage:af,googlePrintPage:H,pdfPage:ak,rtfPage:ay,dropbox:ad,googleDocs:e,boxDotNet:aB,increaseFont:aP,decreaseFont:n,toggleUseLessInk:s,toggleShowDeleted:D,removeImages:a,undoDelete:aF,toggleAddNote:aL,postEmailForm:aS,submitEmailForm:I,emailReloadCaptcha:aU,toggleSlider:aE,updateStatus:am,loadMultiPage:o,loadHiddenPage:X,cleanPrint:ax,filetype:T}}();function CleanPrintPrintHtml(b,a){return FDCPUrl(b,true,"text/html","printViewer",null,a)}function CleanPrintGeneratePdf(b,a){return FDCPUrl(b,true,"application/pdf","pdfViewer",null,a)}function CleanPrintSendEmail(h,e){var f,b,d,c,a,g;f=FDJQuery("#fd-device-phone").css("display");b=typeof f!="undefined"&&f!="none";d=window.navigator.userAgent.indexOf("iPhone")!=-1;if(b){g=FDJQuery(".cpf-printOut-header-title").html();if(!g||g.length==0){g=document.title}c=FDLoader.actionUrl.replace("/cpf/cpf","/cpf/print")+"?key="+encodeURIComponent(FDLoader.pubKey)+"&url="+encodeURIComponent(FDLoader.articleUrl);a="mailto:?Subject="+encodeURIComponent(g)+"&body="+encodeURIComponent("I think you'll find this interesting:\n\n")+encodeURIComponent(c)+encodeURIComponent("\n\n\nThis content was sent using Format Dynamics' eco-friendly "+FDLoader.productName+":\n ")+encodeURIComponent("http://www.formatdynamics.com/cleanprint-4-0");if(d){window.location.href=a}else{window.open(a,"cpf_mail").focus()}FDCPJs.reportEvent("Email","email",true)}else{FDCPUrl(h,true,"email/html","emailViewer",null,e)}return true}function FDCPUrl(g,b,c,f,i,d){var j,a;try{if(typeof g=="undefined"||g==null||g=="null"){if(typeof FDLoader!="undefined"&&typeof FDLoader.articleUrl!="undefined"){g=FDLoader.articleUrl}else{g=window.location.href}}else{if(g.charAt(0)=="/"){g=window.location.protocol+"//"+window.location.host+g}FDLoader.isPfLink=true;FDLoader.dynamic=false}FDLoader.articleUrl=g;b=typeof b=="undefined"?true:b;c=typeof c=="undefined"?"text/html":c;f=typeof f=="undefined"?"printViewer":f;i=typeof i=="undefined"?"":i;FDLoader.articleId=null;if(typeof d!="undefined"&&d!=null){FDLoader.articleId=d}if(typeof FDLoader.bridge!="undefined"&&FDLoader.bridge!=null){FDCPJs.cleanPrint(g,f)}}catch(h){j="";a=null;for(a in h){j+=a+"["+h[a]+"], "}j+="["+h+"]";FDCPJs.logMessage(40000,"FDCPUrl: "+j);alert(h.message)}return false};FDLoader.bridge.init = FDCPJs.init; FDLoader.bridge.handleError = FDCPJs.handleError; FDLoader.bridge.init();